with_current

Function with_current 

Source
pub(crate) fn with_current<F, R>(f: F) -> Result<R, TryCurrentError>
where F: FnOnce(&Handle) -> R,