##// END OF EJS Templates
rewritten TraceSource
rewritten TraceSource

File last commit:

r9:c1c00bfb5487 propose cancellat...
r10:57344e243cdf propose cancellat...
Show More
EmptyCancellation.ts
19 lines | 396 B | video/mp2t | TypeScriptLexer
/ src / ts / EmptyCancellation.ts
cin
Async operation cancellation proposal...
r9 import { ICancellation } from "./ICancellation";
export class EmptyCancellation implements ICancellation {
isSupported(): boolean {
return false;
}
throwIfRequested(): void {
}
isRequested(): boolean {
return false;
}
register(_cb: () => void): void {
}
static readonly default : EmptyCancellation = new EmptyCancellation();
}