Function headless_lms_server::prelude::web::block
source · pub fn block<F, R>(f: F) -> impl Future<Output = Result<R, BlockingError>>
Expand description
Executes blocking function on a thread pool, returns future that resolves to result of the function execution.