Skip to main content

window_state

Function window_state 

Source
pub fn window_state(messages: &[SharedMessage]) -> (u64, Vec<TranscriptRef>)
Expand description

The current window (1 before any rollover) and every recorded earlier transcript, from the host metadata on messages: the rollover note, or the single message of a cold resume (which carries it on message 0).