UNPKG

@5minds/processcube_engine

Version:

The ProcessCube Engine. Stores and executes BPMNs.

11 lines (10 loc) 440 B
/** * Loosely based on https://gist.github.com/andrewcourtice/ef1b8f14935b409cfe94901558ba5594 */ export declare class AbortablePromise<T> extends Promise<T> { constructor(executor: (resolve?: (value: T) => void, reject?: (reason?: any) => void, onAbort?: (abortCallback: (reason?: any) => void) => void) => void, options: { signal: AbortSignal; }); private static registerHandler; private static wrapWithFinal; }