@spacehq/sdk > OpenFileResponse
OpenFileResponse interface
Signature:
export interface OpenFileResponse
Properties
Property | Type | Description |
---|---|---|
consumeStream | () => Promise<Uint8Array> | consumeStream aggregates the stream data and returns the compounded bytes array.Note that if the stream has already been consumed/used once, consumeStream would return an empty bytes array. |
mimeType | string | undefined | |
stream | AsyncIterableIterator<Uint8Array> |