Type Parameters

  • T = any

Hierarchy (View Summary)

Constructors

  • Type Parameters

    • T = any

    Parameters

    • __namedParameters: {
          executor?: (
              resolve: (value: T | PromiseLike<T>) => void,
              reject: (reason?: any) => void,
              onCancel: (cancelHandler: () => void) => void,
          ) => void;
          internals?: Internals;
          promise?: Promise<T>;
      }

    Returns CancelablePromiseInternal<T>

Properties

"[toStringTag]": string

Methods

  • Returns void

  • Parameters

    • Optionalonfinally: null | () => void
    • OptionalrunWhenCanceled: boolean

    Returns CancelablePromise<T>

  • Returns boolean