Parameters
(emit: (value: T) => Promise<void>, end: (error: unknown) => void) => StreamCle…
required
Returns
ManagedStreamDocumentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
stream(setup: (emit: (value: T) => Promise<void>, end: (error: unknown) => void) => StreamCleanup | Promise<StreamCleanup>): ManagedStream<T>
ManagedStreamWas this page helpful?