src/vs/workbench/services/search/node/searchIpc.ts/SearchChannel/listen
class SearchChannel:	listen(_: unknown, event: string, arg?: any): Event<any> {
		switch (event) {
			case 'fileSearch': return this.service.fileSearch(arg);
			case 'textSearch': return this.service.textSearch(arg);
		}
		throw new Error('Event not found');
	}