Upsilon-VsCode/Client/node_modules/vscode-jsonrpc/lib/pipeSupport.d.ts

9 lines
485 B
TypeScript
Raw Normal View History

2019-02-17 17:07:28 +00:00
import { MessageReader } from './messageReader';
import { MessageWriter } from './messageWriter';
export declare function generateRandomPipeName(): string;
export interface PipeTransport {
onConnected(): Thenable<[MessageReader, MessageWriter]>;
}
export declare function createClientPipeTransport(pipeName: string, encoding?: string): Thenable<PipeTransport>;
export declare function createServerPipeTransport(pipeName: string, encoding?: string): [MessageReader, MessageWriter];