Function async_context::with_async_context

source ยท
pub fn with_async_context<C, F, R>(f: F) -> R
where F: FnOnce(Option<&C>) -> R, C: 'static,
Expand description

Retrieves immutable ref for async context in order to read values.