ai.stream.Stream$stream

The typed partial-value stream returned by an LLM function's `@stream` projection. This is the one canonical host-stream class; tagged handles carry its FQN across FFI so host bridges do not need to hardcode a namespace.

Reference version

Signature

class ai.stream.Stream$stream<TStream, TFinal>

The typed partial-value stream returned by an LLM function's @stream projection. This is the one canonical host-stream class; tagged handles carry its FQN across FFI so host bridges do not need to hardcode a namespace.

Source:<builtin>/ai/ns_stream/stream.bamlbytes 0–0

Fields

_next_text

unknown

_cache

baml.sap._ParseCache$stream<TStream, TFinal> | null

_text

string | null

_finished

bool | null