class CancelablePromise implements Promise<T>import { CancelablePromise } from "https://dotland.deno.dev/x/wmill@v1.423.1/gen/index.ts"; ConstructorsnewCancelablePromise(executor: (resolve: (value: T | PromiseLike<T>) => void,reject: (reason?: unknown) => void,onCancel: OnCancel,) => void)Type ParametersTPropertiesprivate_isCancelled: booleanprivate_isRejected: booleanprivate_isResolved: booleanprivateoptional_reject: (reason?: unknown) => voidprivateoptional_resolve: (value: T | PromiseLike<T>) => voidreadonlycancelHandlers: (() => void)[]readonlyisCancelled: booleanreadonlypromise: Promise<T>readonly[Symbol.toStringTag]Methodscancel(): voidcatch<TResult = never>(onRejected?: ((reason: unknown) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>finally(onFinally?: (() => void) | null): Promise<T>then<TResult1 = T, TResult2 = never>(onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onRejected?: ((reason: unknown) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>import CancelablePromiseimport { CancelablePromise } from "https://dotland.deno.dev/x/wmill@v1.423.1/gen/index.ts";