Skip to main content

with_current

Function with_current 

Source
pub fn with_current<F, R>(f: F) -> Option<R>
where F: FnOnce(&IntermediateContext) -> R,
Expand description

Read access to the currently installed context. Returns None outside the intermediate-callback window.