Skip to main content

now

Function now 

Source
pub fn now() -> Instant
Expand description

Returns the start of the current runtime turn, see ntex_rt::now().

Tasks polled in the same turn observe the same instant on neon and compio, on tokio this is Instant::now().