Skip to main content

current

Function current 

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

The context of the invocation that the calling code runs in.

Returns None outside an invocation, for example at startup or in a spawned task that was not wrapped in scope.