Type Alias SetContextReturn<D>

SetContextReturn<D>: {
    send: Config.Send<D>;
}

The type of return value of the function to update the context of the state machine.

Type Parameters

  • D

    The type of the state machine definition.

Type declaration

  • Readonlysend: Config.Send<D>

    The send function to send an event to the state machine.