Skip to content

Gate commands

Choose between a lock request and a state toggle.

All ordinary command results report queue admission. For later native transport evidence, use a command receipt.

Choose a gate action

Desired action Call Behavior
Request a locked state LockGates Accepts one gate or a dense array; repeated requests ask for the same state.
Invert the current state ToggleGate Accepts one gate; a second successful toggle can undo the first.

Both return a boolean for queue admission. Their Tracked forms add transport receipts, not an observation of the final gate state. Check the live gate state later if your script depends on it.