src/vs/platform/sharedProcess/electron-main/sharedProcess.ts/SharedProcess/connect
class SharedProcess:	async connect(): Promise<MessagePortMain> {

		// Wait for shared process being ready to accept connection
		await this.whenIpcReady;

		// Connect and return message port
		const window = assertIsDefined(this.window);
		return connectMessagePort(window);
	}