Skip to main content

as_the_operator

Function as_the_operator 

Source
fn as_the_operator(
    state: &AppState,
    act: impl FnOnce(&Estop),
) -> Result<(), Box<Response>>
Expand description

Moves the latch inside a span naming this deployment’s operator, so the line the latch logs for the throw or the release says who asked. The span carries the DID and nothing from the session.