Function kumo_server_runtime::spawn

source ยท
pub fn spawn<FUT, N: AsRef<str>>(
    name: N,
    fut: FUT,
) -> Result<JoinHandle<FUT::Output>>
where FUT: Future + Send + 'static, FUT::Output: Send,
Expand description

Spawn a future as a task with a name.