pub type StreamedContent = Progressive<String>;Expand description
Progressively arriving text.
§Example
use gpui_ai::stream::{ProgressState, StreamedContent};
let mut answer = StreamedContent::new();
answer.append("Hello, ");
answer.append("world.");
answer.finish();
assert_eq!(answer.text(), "Hello, world.");
assert_eq!(answer.state(), &ProgressState::Complete);Aliased Type§
pub struct StreamedContent { /* private fields */ }