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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Name | String | Yes | The lock's name. |
Outputs
| Output | Type | What it is |
|---|---|---|
| held | Boolean | True when a run holds the lock. |
| mine | Boolean | True when this run holds it. |
| held_by | String | The run, runner and person holding it, and since when; empty when free. |
| since | String | When it was taken (ISO 8601), or empty. |
| expires | String | When its lease runs out (ISO 8601), or empty. |