Signature: {
    context: Definition.Context.Signature;
    event: Config.EntryEvent.Signature;
    isMounted: (() => boolean);
    send: Config.Send.Signature;
    setContext: Config.SetContext.Signature;
}

Type declaration

  • Readonlycontext: Definition.Context.Signature

    The current context of the state machine.

  • Readonlyevent: Config.EntryEvent.Signature

    The event that triggered the effect.

  • ReadonlyisMounted: (() => boolean)

    The function to check if the component is mounted.

      • (): boolean
      • Check if the component is mounted.

        Returns boolean

        true if the component is mounted, false otherwise.

  • Readonlysend: Config.Send.Signature

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

  • ReadonlysetContext: Config.SetContext.Signature

    The function to update the context of the state machine.