Skip to main content
Defined in: streaming/streamText.ts:464 Stream source into target. ctx.stream(source, opts) is this function bound to the current chat; use it directly for custom sinks (and tests). Rejects with the source’s error (after flushing what was produced) or with the first send error.

Parameters

Returns

Promise<StreamResult>