def handles

bendvy-ecs-core@0.1.0.3 · world.bend:390

import bendvy-ecs-core@0.1.0.3/world.bend as World
import Base
import entity_allocator.bend as A

390# Return World and currently visible live full handles in allocator-visible order.
391# Reserved/Pending handles are not an ordinary query membership list yet.
392def handles(~S:Data,~C:Type,~R:Type,~E:Data,world:World<S,C,R,E>) -> World<S,C,R,E> & List<&2,Handle<S>>:
393  match world:
394    case World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock,lifecycle}:handles_join(~S,~C,~R,~E,namespace,store,resource,events,pending,registrations,nextSystemId,clock,A.visible(allocator),lifecycle)

Uses (6)

Used by (6)