Skip to main content

delay

Function delay 

Source
pub fn delay<R: Runtime, T, S: Stream<Item = T>>(
    ms: u64,
    s: S,
) -> impl Stream<Item = T>
Expand description

Delay each value by a specified duration. Uses the Runtime trait for timer functionality.