main funcions fixes
This commit is contained in:
17
desktop-operator/node_modules/builder-util-runtime/out/CancellationToken.d.ts
generated
vendored
Normal file
17
desktop-operator/node_modules/builder-util-runtime/out/CancellationToken.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { EventEmitter } from "events";
|
||||
export declare class CancellationToken extends EventEmitter {
|
||||
private parentCancelHandler;
|
||||
private _cancelled;
|
||||
get cancelled(): boolean;
|
||||
private _parent;
|
||||
set parent(value: CancellationToken);
|
||||
constructor(parent?: CancellationToken);
|
||||
cancel(): void;
|
||||
private onCancel;
|
||||
createPromise<R>(callback: (resolve: (thenableOrResult: R | PromiseLike<R>) => void, reject: (error: Error) => void, onCancel: (callback: () => void) => void) => void): Promise<R>;
|
||||
private removeParentCancelHandler;
|
||||
dispose(): void;
|
||||
}
|
||||
export declare class CancellationError extends Error {
|
||||
constructor();
|
||||
}
|
||||
Reference in New Issue
Block a user