Function ntex_rt::spawn_blocking

source ·
pub fn spawn_blocking<F, T>(
    _: F
) -> Pin<Box<dyn Future<Output = Result<T, JoinError>>>>
where F: FnOnce() -> T + Send + 'static, T: Send + 'static,