Function timedCancellable

  • Type Parameters

    Parameters

    • f: ((ctx: C_, ...params: P) => PromiseLike<R>)
        • (ctx: C_, ...params: P): PromiseLike<R>
        • Parameters

          • ctx: C_
          • Rest ...params: P

          Returns PromiseLike<R>

    • lazy: boolean = false
    • delay: number = Infinity
    • errorTimeoutConstructor: (new () => Error) = errors.ErrorContextsTimedTimeOut
        • new (): Error
        • Returns Error

    Returns ((...params: ContextAndParameters<C, P>) => PromiseCancellable<R>)

      • (...params: ContextAndParameters<C, P>): PromiseCancellable<R>
      • Parameters

        • Rest ...params: ContextAndParameters<C, P>

        Returns PromiseCancellable<R>

Generated using TypeDoc