src/vs/base/common/async.ts/DeferredPromise/cancel
class DeferredPromise:	public cancel() {
		new Promise<void>(resolve => {
			this.errorCallback(new CancellationError());
			this.rejected = true;
			resolve();
		});
	}