Skip to main content
Defined in: streaming/types.ts:85 What ctx.stream() resolves with.

Properties

text

Defined in: streaming/types.ts:87 Full text received from the source (before splitting).

messages

Defined in: streaming/types.ts:89 Every message sent (several when the text was split or chunked).

strategy

Defined in: streaming/types.ts:91 Strategy actually used at the end (after any fallback).

cancelled

Defined in: streaming/types.ts:93 true when signal aborted or the user stopped the draft.

stoppedByUser

Defined in: streaming/types.ts:95 true when the user pressed the transport’s stop button.