massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-json / node_modules / vscode-languageserver-protocol / lib / common / connection.js
1 "use strict";
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 };
12     }
13     return vscode_jsonrpc_1.createMessageConnection(input, output, logger, options);
14 }
15 exports.createProtocolConnection = createProtocolConnection;
16 //# sourceMappingURL=connection.js.map