Job<T>: ((...args) => Promise<T>)

A operation that returns T. Strategies may repeat a failed operation by calling it multiple times, or cancel an executing operation by resolving the cancelPromise passed in JobArgs.

Type Parameters

  • T

Type declaration

    • (...args): Promise<T>
    • Parameters

      Returns Promise<T>