@fgaudo/effect-tea - v0.7.2
    Preparing search index...

    Type Alias Step<State, Command, Event>

    Step: Readonly<
        {
            commands?: ReadonlyArray<Command>;
            events?: ReadonlyArray<Event>;
            state: State;
        },
    >

    The result of a transition. commands are data, what update decided to do in the world, turned into effects by the program's runCommand. events are for the parent (the "OutMsg" pattern): what happened that the program itself does not handle, e.g. a page asking to be left. A program that emits none leaves Event as never.

    Type Parameters

    • State
    • Command = never
    • Event = never