src/vs/base/common/async.ts/DeferredPromise/complete
class DeferredPromise:	public complete(value: T) {
		return new Promise<void>(resolve => {
			this.completeCallback(value);
			this.resolved = true;
			resolve();
		});
	}