spawn_ok

Function spawn_ok 

Source
pub fn spawn_ok<Fut>(fut: Fut)
where Fut: Future<Output = ()> + Send + 'static,
Available on crate feature task only.
Expand description

Spawns a task that polls the given future with output () to completion.