Interface: LLMStreamResult
@providerprotocol/ai / @providerprotocol/ai / LLMStreamResult
Interface: LLMStreamResult
Section titled “Interface: 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.
Extends
Section titled “Extends”AsyncIterable<StreamEvent>
Properties
Section titled “Properties”response
Section titled “response”
readonlyresponse:Promise<LLMResponse>
Defined in: src/types/llm.ts:320
Promise resolving to the complete response
Methods
Section titled “Methods”[asyncIterator]()
Section titled “[asyncIterator]()”[asyncIterator]():
AsyncIterator<StreamEvent,any,any>
Defined in: node_modules/typescript/lib/lib.es2018.asynciterable.d.ts:38
Returns
Section titled “Returns”AsyncIterator<StreamEvent, any, any>
Inherited from
Section titled “Inherited from”AsyncIterable.[asyncIterator]