Skip to main content

streaming_since

Function streaming_since 

Source
pub fn streaming_since(list: &Ident, message: &str, cx: &App) -> Option<Instant>
Expand description

When the streaming indicator on message in list began.

Keyed by the message’s identity and nothing else, so text arriving into a message that is already streaming does not restart the indicator: a conversation whose “still writing” mark flickered on every token would be reporting the token, not the stream. Answers None once the message stops streaming.