pub fn read_event_window(
after: u64,
limit: usize,
level: Option<&str>,
event_prefixes: &[&str],
) -> Option<EventWindow>Expand description
Drain the ring into an EventWindow for a cursor read. Returns the entries
with seq > after, capped at limit (oldest-first), each with its seq
folded into the RFC 0010 §3.2 line object. level/event_prefixes are the
optional §7.3 server-side filters (a cheap prefix match over the held lines —
no query engine). None when no ring is installed (the resource 404s at the
server). RFC 0016 §7.2/§7.3.