Function prodash::render::tui::ticker

source ·
pub fn ticker(dur: Duration) -> impl Stream<Item = ()>
Expand description

Returns a stream of ‘ticks’, each being duration dur apart.

Can be useful to provide the TUI with additional events in regular intervals, when using the tui::render_with_input(…events) function.