Skip to main content

execute

Function execute 

Source
pub fn execute<F>(work_type: WorkType, task: F) -> Result<()>
where F: FnOnce() -> Result<()> + Send + 'static,
Expand description

Execute a task on the global thread pool