Skip to main content

stream_first_seq

Function stream_first_seq 

Source
pub async fn stream_first_seq(ctx: &Context) -> Option<u64>
Expand description

Inspect the live stream’s retained-sequence floor so the WS bridge can report it back to a client whose since was below the retention window. Returns None if the stream cannot be reached (in which case the caller should fall through to the generic close path).