botframework-streaming
Version:
Streaming library for the Microsoft Bot Framework
20 lines (18 loc) • 541 B
text/typescript
/**
* @module botframework-streaming
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* Partially represents a FileReader from the W3C FileAPI Working Draft.
* For more information, see https://w3c.github.io/FileAPI/#APIASynch.
*
* This interface supports the framework and is not intended to be called directly for your code.
*/
export interface IBrowserFileReader {
result: any;
onload: (event: any) => void;
readAsArrayBuffer: (blobOrFile: any) => void;
}