Skip to main content

transient_expired

Function transient_expired 

pub fn transient_expired(shown: Instant, ttl: Duration) -> bool
Expand description

Whether a transient shown at shown for ttl has expired. Under the capture clock (--shots) nothing expires, so a scenario that stages a toast keeps it in frame.