Function with_current_context

Source
pub fn with_current_context<R>(func: impl FnOnce(&StateContext) -> R) -> R