src/vs/platform/extensions/electron-main/workerMainProcessExtensionHostStarter.ts/NodeWorker/constructor
class NodeWorker:	constructor(callback: IWorkerCallback, onErrorCallback: (err: any) => void) {
		this._worker = new Worker(
			FileAccess.asFileUri('vs/platform/extensions/node/extensionHostStarterWorkerMain.js', require).fsPath,
		);
		this._worker.on('message', callback);
		this._worker.on('error', onErrorCallback);
		this.onError = Event.fromNodeEventEmitter(this._worker, 'error');
		this.onExit = Event.fromNodeEventEmitter(this._worker, 'exit');
		this.onMessageError = Event.fromNodeEventEmitter(this._worker, 'messageerror');
	}