Function context_rs::with_ref
source · pub fn with_ref<T: 'static + ?Sized, F: for<'c> FnOnce(&'c T) -> R, R>(
f: F
) -> impl Future<Output = Option<R>>
Expand description
Get a value from the current context. Only works when paired with
provide_ref