Skip to main content

uptime_secs

Function uptime_secs 

Source
pub fn uptime_secs() -> Option<u64>
Expand description

How long the app has run, from the frame clock: the span between the first and the latest frame timestamp a backend delivered. The exit line uses it on wasm, where Instant does not exist; None before any frame.

Day API ↩ Guides· daybrite.dev