Type Alias TaskResponse<TResult>

TaskResponse: [number, TResult | undefined, string | undefined]

The type of the result of a task.

  • The index of the task in the order of the original input data.
  • The result of the task, if it succeeded.
  • The error that occurred during the task, if it failed.

Type Parameters

  • TResult

    The type of the result.