Skip to main content

run

Function run 

Source
pub async fn run<T>(
    work: impl FnOnce() -> T + Send + 'static,
) -> Result<T, BlockingTaskError>
where T: Send + 'static,