UNPKG

botframework-streaming

Version:

Streaming library for the Microsoft Bot Framework

17 lines (15 loc) 434 B
/** * @module botframework-streaming */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { ITransport } from './ITransport'; import { INodeBuffer } from './INodeBuffer'; /** * Definition of a streaming transport that can receive requests. */ export interface ITransportReceiver extends ITransport { receive(count: number): Promise<INodeBuffer>; }