Skip to content

Interface: ImageStreamResult

@providerprotocol/ai


@providerprotocol/ai / @providerprotocol/ai / ImageStreamResult

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

Async iterable stream with final result accessor. Returned when stream() is called.

readonly result: Promise<ImageResult>

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

Promise resolving to complete result after streaming

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

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

AsyncIterator<ImageStreamEvent, any, any>

AsyncIterable.[asyncIterator]


abort(): void

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

Abort the generation

void