tryControl
tryControl(
authority,controller,entity,options):ControlResult
control, returning the refusal rather than throwing it: what a seat
calls with { from: null }, so two riders who reach for it in one tick
get one { ok: true } and one ControlRefusal.ControlledByOther.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
authority |
EntityAuthority |
controller |
Entity |
entity |
Entity |
options |
ControlOptions |