get_invalidator

Function get_invalidator 

Source
pub fn get_invalidator() -> Option<Invalidator>
Expand description

Get an Invalidator that can be used to invalidate the current task based on external events. Returns None if called outside of a task context.