pub fn consume_context<T>(
    hooks: &mut Hooks<'_>
) -> Option<(T, Arc<CbDebuggable<dyn Fn(T) + Sync + Send>>)>
where T: Clone + Debug + Sync + Send + 'static,
Expand description

Consume a context of type T provided further up the tree.

To provide context, use provide_context.