Skip to content

Interface: LLMStreamResult

@providerprotocol/ai


@providerprotocol/ai / @providerprotocol/ai / LLMStreamResult

Defined in: src/types/llm.ts:318

Internal

Raw provider stream result.

An async iterable of stream events with a Promise that resolves to the complete response after streaming finishes.

readonly response: Promise<LLMResponse>

Defined in: src/types/llm.ts:320

Promise resolving to the complete response

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

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

AsyncIterator<StreamEvent, any, any>

AsyncIterable.[asyncIterator]