Skip to main content

TokenStreamV2

Type Alias TokenStreamV2 

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

Stream of TokenEventV2 values produced by a backend during a v2 generation. Dropping the stream cancels the in-flight generation.

Aliased Typeยง

pub struct TokenStreamV2 { /* private fields */ }