Skip to content

Interface: ImageProviderStreamResult

@providerprotocol/ai


@providerprotocol/ai / @providerprotocol/ai / ImageProviderStreamResult

Defined in: src/types/image.ts:291

Internal

Raw provider stream result. An async iterable of ImageStreamEvent with a response promise.

readonly response: Promise<ImageResponse>

Defined in: src/types/image.ts:293

Promise resolving to the complete response

[asyncIterator](): AsyncIterator<ImageStreamEvent, any, any>

Defined in: node_modules/typescript/lib/lib.es2018.asynciterable.d.ts:38

AsyncIterator<ImageStreamEvent, any, any>

AsyncIterable.[asyncIterator]