last_closed_window

Function last_closed_window 

Source
pub fn last_closed_window(window: WindowKind, now_ms: i64) -> i64
Expand description

The most recent CLOSED window of a kind (the manual trigger’s default): the window containing now is still open by construction, so the answer is always the previous one — including at the exact boundary instant, where the previous window has just closed.