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
391
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)