def command_valid

bendvy-ecs-core@0.1.0.4 · world.bend:199

import bendvy-ecs-core@0.1.0.4/world.bend as World
import Base

199# Allow a live or actual Pending handle, preserving namespace/generation checks.
200# This permits ordered deferred spawn/despawn workflows without making Pending
201# entities readable through ordinary live-component access.
202def command_valid(~S:Data,~C:Type,~R:Type,~E:Data,world:World<S,C,R,E>,+handle:Handle<S>) -> World<S,C,R,E> & Bool:
203  command_live(~S,~C,~R,~E,handle,valid(~S,~C,~R,~E,world,handle))

Uses (6)

Used by (3)