World.enqueue_command: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/world.bend as World Lines 207-211 of bendvy-ecs-core@0.1.0.3/world.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/world.bend&start_line=207&end_line=211 import Base import bendvy-ecs-core@0.1.0.3/deferred_command.bend as Deferred # Transfer one affine command to the reverse pending accumulator. It is not run # until a barrier; arbitrary command bodies are trusted engine adapters. def enqueue_command(~S:Data,~C:Type,~R:Type,~E:Data,world:World,command:Deferred.Command>) -> World: match world: case World{+namespace,allocator,store,resource,+events,pending,+registrations,+nextSystemId,+clock,lifecycle}:World{namespace,allocator,store,resource,events,command <> pending,registrations,nextSystemId,clock,lifecycle} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/deferred_command.bend&name=Command https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/world.bend&name=World