Function kumo_server_runtime::spawn_blocking_on

source ยท
pub fn spawn_blocking_on<F, N, R>(
    name: N,
    func: F,
    runtime: &Handle,
) -> Result<JoinHandle<R>>
where F: FnOnce() -> R + Send + 'static, R: Send + 'static, N: AsRef<str>,