Skip to main content

ModelStream

Type Alias ModelStream 

Source
pub type ModelStream = Pin<Box<dyn Stream<Item = StreamDelta> + Send>>;
Expand description

Bounded stream of provider deltas. Cancellation is observable through the same CallControl the invoke path uses โ€” drivers race next() against the cancellation token, never poll.

Aliased Typeยง

#[repr(transparent)]
pub struct ModelStream { /* private fields */ }