[][src]Function futures_cputask::run_task

pub async fn run_task<R, F>(fun: F) -> R where
    R: Sized + Send + Sync + 'static,
    F: FnOnce() -> R + Send + 'static, 

Runs a task in the global threadpool