def handles
bendvy-ecs-core@0.1.0.4 · world.bend:388
import bendvy-ecs-core@0.1.0.4/world.bend as World
import Base
import entity_allocator.bend as A
388
389
390def handles(~S:Data,~C:Type,~R:Type,~E:Data,world:World<S,C,R,E>) -> World<S,C,R,E> & List<&2,Handle<S>>:
391 match world:
392 case World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock}:handles_join(~S,~C,~R,~E,namespace,store,resource,events,pending,registrations,nextSystemId,clock,A.visible(allocator))