Skip to main content

current

Function current 

Source
pub fn current() -> Option<UsageContext>
Expand description

The currently armed context, if any. Request-owned spawned children capture this before tokio::spawn and re-enter it with scope inside the child; every other caller should prefer count.