Function tokio_js_set_interval::_set_interval [−][src]
pub async fn _set_interval(f: impl Fn(), ms: u64)
Expand description
INTERNAL Use macro set_interval
instead!
Creates a future that glues the tokio interval function together with the provided callback.