aimpress-chatbot/node_modules/botframework-streaming/lib/disassemblers/cancelDisassembler.d.ts
“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

30 lines
No EOL
1.1 KiB
TypeScript

/**
* @module botframework-streaming
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { PayloadTypes } from '../payloads';
import type { PayloadSender } from '../payloadTransport';
/**
* Streaming cancel disassembler.
*/
export declare class CancelDisassembler {
private readonly sender;
private readonly id;
private readonly payloadType;
/**
* Initializes a new instance of the [CancelDisassembler](xref:botframework-streaming.CancelDisassembler) class.
*
* @param sender The [PayloadSender](xref:botframework-streaming.PayloadSender) that this Cancel request will be sent by.
* @param id The ID of the Stream to cancel.
* @param payloadType The type of the Stream that is being cancelled.
*/
constructor(sender: PayloadSender, id: string, payloadType: PayloadTypes);
/**
* Initiates the process of disassembling the request and signals the [PayloadSender](xref:botframework-streaming.PayloadSender) to begin sending.
*/
disassemble(): void;
}
//# sourceMappingURL=cancelDisassembler.d.ts.map