Function tokio_spawn

Source
pub fn tokio_spawn<Sp, F>(_sp: &Sp, fut: F) -> Result<(), Sp::Error>
where Sp: WireSpawn<Error = Infallible, Info = ()>, F: Future<Output = ()> + 'static + Send,
Expand description

Spawn a task using tokio