Function spawn_future

Source
pub fn spawn_future(
    fut: impl Future<Output = ()> + 'static + Send,
) -> JoinHandle<()>