Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

watchCastRefusals

watchCastRefusals(world): Disposer

Keeps each caster’s last CastRefusedEvent in world, for readAbilityInspection to report; the return stops it. A development world keeps them from its first refusal with no call, for the devtools’ inspector; a tool on any other world calls it. Two callers share one watch, which ends when the last of them stops.

Parameter Type
world World

Disposer