def handles_join

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

import bendvy-ecs-core@0.1.0.3/world.bend as World
import Base
import bendvy-ecs-core@0.1.0.3/clock_state.bend as Clock
import bendvy-ecs-core@0.1.0.3/execution_lifecycle_notices.bend as Notice
import bendvy-ecs-core@0.1.0.3/deferred_command.bend as Deferred
import entity_key.bend as K
import entity_allocator.bend as A

387def handles_join(~S:Data,~C:Type,~R:Type,~E:Data,+namespace:U32,store:C,resource:R,events:List<&2,E>,pending:List<Deferred.Command<World<S,C,R,E>>>,registrations:List<&2,RegistrationMeta>,nextSystemId:U32,clock:Clock.State,observed:A.Allocator & List<&2,K.Key>,lifecycle:Notice.Journal<S>) -> World<S,C,R,E> & List<&2,Handle<S>>:
388  match observed:
389    case (allocator,keys):(World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock,lifecycle},key_handles(~S,namespace,keys))

Uses (13)

Used by (1)