Type alias XStateInvokeCallback<TEvent, TSentEvent>

XStateInvokeCallback<TEvent, TSentEvent>: ((callback, onReceive) => (() => void) | Promise<any> | void)

Type Parameters

Type declaration

    • (callback, onReceive): (() => void) | Promise<any> | void
    • Invoke callback spawnable.

      Parameters

      Returns (() => void) | Promise<any> | void

Generated using TypeDoc