run_in_driver

Function run_in_driver 

Source
pub fn run_in_driver<T: Send + 'static>(
    name: &str,
    p: impl FnOnce() -> T + Send + 'static,
) -> T
Expand description

Runs the given closure under the a new root driver dispatcher. Use [fdf::CurrentDispatcher] to reference the dispatcher if needed.