Files
azuredatastudio/src/vs/workbench/services/search/node/searchApp.ts

15 lines
674 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
import { Server } from 'vs/base/parts/ipc/node/ipc.cp';
import { SearchChannel } from './searchIpc';
import { SearchService } from './rawSearchService';
const server = new Server();
const service = new SearchService();
const channel = new SearchChannel(service);
server.registerChannel('search', channel);