Type alias ZExecutionStarter<TResult, TArgs>

ZExecutionStarter<TResult, TArgs>: ((this, ...args) => ZExecutionInit<TResult> | PromiseLike<ZExecutionInit<TResult>>)

Type Parameters

  • TResult = void

    Execution result type.

  • TArgs extends any[] = []

    Starter arguments tuple type.

Type declaration

    • (this, ...args): ZExecutionInit<TResult> | PromiseLike<ZExecutionInit<TResult>>
    • Execution starter signature.

      Constructs new execution initializer.

      Parameters

      • this: void
      • Rest ...args: TArgs

        Starter arguments.

      Returns ZExecutionInit<TResult> | PromiseLike<ZExecutionInit<TResult>>

      Either execution initializer, or a promise-like instance resolving to one.

Generated using TypeDoc