pub fn override_current_dispatcher<R>(
dispatcher: DispatcherRef<'_>,
f: impl FnOnce() -> R,
) -> RExpand description
Overrides the current dispatcher used by [dispatcher::CurrentDispatcher::on_dispatcher] while
the callback is being called.