Type Alias TaskAsPromise<R>

TaskAsPromise: (...args: TaskArguments) => Promise<R>

Represents a task that returns a promise.

Type Parameters

  • R

    The type of the result returned by the task.

Type declaration