package reducer // Event represents lifecycle events during reduction. type Event int const ( // StartEvent is emitted before reduction begins. StartEvent Event = iota // StepEvent is emitted after each reduction step. StepEvent // StopEvent is emitted after reduction completes. StopEvent )