Interface XStateBehavior<TEvent, TEmitted>

Behavior spawnable.

Type Parameters

Hierarchy

  • XStateBehavior

Properties

initialState: TEmitted
start?: ((actorCtx) => TEmitted)

Type declaration

    • (actorCtx): TEmitted
    • Parameters

      Returns TEmitted

transition: ((state, event, actorCtx) => TEmitted)

Type declaration

    • (state, event, actorCtx): TEmitted
    • Parameters

      Returns TEmitted

Generated using TypeDoc