Skip to main content

spawn

Function spawn 

Source
pub fn spawn<F>(future: F)
where F: Future<Output = ()> + 'static,
Expand description

Spawns a new asynchronous task into the momo-rs engine.

The task is pinned to the current thread and will never migrate.