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

    Type Alias RehearseOptions<State, Command, Flags>

    RehearseOptions: [Flags] extends [never]
        ? Readonly<{ from?: Step<State, Command> }>
        :
            | Readonly<{ flags?: never; from: Step<State, Command> }>
            | Readonly<{ flags: Flags; from?: never }>

    Where a rehearsal starts: from, or the program's init, from flags for a program with them, which then needs one of the two.

    Type Parameters

    • State
    • Command
    • Flags = never