Interface ZExecution<TResult>

Arbitrary execution that can be aborted.

Type Parameters

  • TResult = void

    Execution result type.

Hierarchy

  • ZExecution

Methods

  • Awaits for execution to finish.

    Returns Promise<TResult>

    A promise resolved when execution succeed, or rejected when it is failed.

  • Awaits for execution to start.

    Returns Promise<void>

    A promise resolved when execution started, or rejected when it is aborted before being started.

Generated using TypeDoc