def ready

bendvy-ecs-core@0.1.0.3 · snapshot_data.bend:29

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

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

Uses (5)

Used by (2)