Skip to main content

Module audit

Module audit 

Expand description

Audit: who asked for a signal, cancel, terminate or reset.

The API that takes a request names its requester (as_requester); the record the request writes carries it as by (see fusee_core::record::Record), and the run’s journal shows it. The HTTP API names a token’s scope, a namespace, or a proxy’s identity header; the CLI names its user. Requests made in code name nobody, and their records carry no by field at all.

Functions§

as_requester
Runs f with by as the requester of the signals, cancellations, terminations and resets it asks of an engine.
current
The requester of the current task, if one was named.