def ready

bendvy-ecs-core@0.1.0.4 · snapshot_data.bend:28

import bendvy-ecs-core@0.1.0.4/snapshot_data.bend as SnapshotData
import Base
import bendvy-ecs-core@0.1.0.4/world.bend as W

28# Internal constant-time structural admission, before any trusted projection.
29def ready(~S:Data,~C:Type,~R:Type,~E:Data,world:W.World<S,C,R,E>) -> W.World<S,C,R,E> & Bool:
30  match world:
31    case W.World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock}:ready_joined(~S,~C,~R,~E,namespace,allocator,store,resource,events,registrations,nextSystemId,clock,pending_ready(~W.World<S,C,R,E>,pending))

Uses (5)

Used by (2)