pub fn get_default<T, F>(f: F) -> Twhere F: FnMut(&Dispatch) -> T,
Executes a closure with a reference to the current dispatcher.