botframework-streaming
Version:
Streaming library for the Microsoft Bot Framework
30 lines • 1.13 kB
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