Type alias PromiseWithCancel<T>

PromiseWithCancel<T>: PromiseLike<T> & {
    cancel(): void;
}

The most abstract thing we can cancel — a thenable with a cancel method.

Type Parameters

  • T

Generated using TypeDoc