Skip to main content

Check lock

See whether a lock is held, by which run, runner and person, and since when. A lock past its lease counts as free.

Command in the Environment locks toolkit · id ooa.locks/check · 1 input (1 required), 5 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
NameStringYesThe lock's name.

Outputs​

OutputTypeWhat it is
heldBooleanTrue when a run holds the lock.
mineBooleanTrue when this run holds it.
held_byStringThe run, runner and person holding it, and since when; empty when free.
sinceStringWhen it was taken (ISO 8601), or empty.
expiresStringWhen its lease runs out (ISO 8601), or empty.