2 /* --------------------------------------------------------------------------------------------
3 * Copyright (c) Microsoft Corporation. All rights reserved.
4 * Licensed under the MIT License. See License.txt in the project root for license information.
5 * ------------------------------------------------------------------------------------------ */
6 Object.defineProperty(exports, "__esModule", { value: true });
7 exports.createProtocolConnection = void 0;
8 const vscode_jsonrpc_1 = require("vscode-jsonrpc");
9 function createProtocolConnection(input, output, logger, options) {
10 if (vscode_jsonrpc_1.ConnectionStrategy.is(options)) {
11 options = { connectionStrategy: options };
13 return vscode_jsonrpc_1.createMessageConnection(input, output, logger, options);
15 exports.createProtocolConnection = createProtocolConnection;
16 //# sourceMappingURL=connection.js.map