initial commit
This commit is contained in:
34
node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js
generated
vendored
Normal file
34
node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
"use strict";
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.WorkDoneProgressCancelNotification = exports.WorkDoneProgressCreateRequest = exports.WorkDoneProgress = void 0;
|
||||
const vscode_jsonrpc_1 = require("vscode-jsonrpc");
|
||||
const messages_1 = require("./messages");
|
||||
var WorkDoneProgress;
|
||||
(function (WorkDoneProgress) {
|
||||
WorkDoneProgress.type = new vscode_jsonrpc_1.ProgressType();
|
||||
function is(value) {
|
||||
return value === WorkDoneProgress.type;
|
||||
}
|
||||
WorkDoneProgress.is = is;
|
||||
})(WorkDoneProgress = exports.WorkDoneProgress || (exports.WorkDoneProgress = {}));
|
||||
/**
|
||||
* The `window/workDoneProgress/create` request is sent from the server to the client to initiate progress
|
||||
* reporting from the server.
|
||||
*/
|
||||
var WorkDoneProgressCreateRequest;
|
||||
(function (WorkDoneProgressCreateRequest) {
|
||||
WorkDoneProgressCreateRequest.type = new messages_1.ProtocolRequestType('window/workDoneProgress/create');
|
||||
})(WorkDoneProgressCreateRequest = exports.WorkDoneProgressCreateRequest || (exports.WorkDoneProgressCreateRequest = {}));
|
||||
/**
|
||||
* The `window/workDoneProgress/cancel` notification is sent from the client to the server to cancel a progress
|
||||
* initiated on the server side.
|
||||
*/
|
||||
var WorkDoneProgressCancelNotification;
|
||||
(function (WorkDoneProgressCancelNotification) {
|
||||
WorkDoneProgressCancelNotification.type = new messages_1.ProtocolNotificationType('window/workDoneProgress/cancel');
|
||||
})(WorkDoneProgressCancelNotification = exports.WorkDoneProgressCancelNotification || (exports.WorkDoneProgressCancelNotification = {}));
|
||||
//# sourceMappingURL=protocol.progress.js.map
|
||||
Reference in New Issue
Block a user