Function 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.