External Publication
Visit Post

`Instant::PAST_VALUE` constant?

Rust Internals [Unofficial] May 14, 2026
Source

you could have a next_bar_timestamp instead, initialized with Instant::now() + Duration::from_secs(1) and then you check if next_bar_timestamp <= Instant::now()

Discussion in the ATmosphere

Loading comments...