src/vs/base/parts/ipc/common/ipc.ts/ChannelClient/whenInitialized
class ChannelClient:	private whenInitialized(): Promise<void> {
		if (this.state === State.Idle) {
			return Promise.resolve();
		} else {
			return this.onDidInitializePromise;
		}
	}