Skip to main content

current

Function current 

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

The identifier of the request this task is serving, if any.

Available to code that has no Request to hand — a repository, a mailer, a log formatter — for as long as it runs inside the middleware’s scope.