aimpress-chatbot/node_modules/botframework-streaming/lib/payloadTransport/transportDisconnectedEvent.js
“SamoilenkoVadym” 55445dbc86
Some checks failed
Build and deploy Node.js app to Azure Web App - ChatBot2222 / build (push) Has been cancelled
Build and deploy Node.js app to Azure Web App - ChatBot2222 / deploy (push) Has been cancelled
Deploy bot to Azure
2025-04-27 19:55:19 +01:00

32 lines
No EOL
1,003 B
JavaScript

"use strict";
/**
* @module botframework-streaming
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.TransportDisconnectedEvent = void 0;
/**
* Event to be included when disconnection events are fired.
*/
class TransportDisconnectedEvent {
/**
* Indicates a transport disconnected with the reason provided via the constructor.
*
* @remarks
* This class is used for communicating disconnection events between the
* PayloadReceiver and PayloadSender.
* @param reason The reason the disconnection event fired, in plain text.
*/
constructor(reason) {
this.reason = reason;
}
}
exports.TransportDisconnectedEvent = TransportDisconnectedEvent;
/**
* A new and empty TransportDisconnectedEvent.
*/
TransportDisconnectedEvent.Empty = new TransportDisconnectedEvent();
//# sourceMappingURL=transportDisconnectedEvent.js.map