ExecutionLifetimeScopeBuffer.assigned: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_buffer.bend as ExecutionLifetimeScopeBuffer Lines 45-48 of bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_buffer.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_buffer.bend&start_line=45&end_line=48 import Base import bendvy-ecs-core@0.1.0.3/world.bend as W import bendvy-ecs-core@0.1.0.3/lifetime_scope.bend as Scope import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout import bendvy-ecs-core@0.1.0.3/execution_command_buffer.bend as Buffer import bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_command.bend as Commands import bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_store.bend as Store import bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_resource_dispatch.bend as Dispatch def assigned(-S:Data,-C:Type,-R:Type,-E:Data,-P:Type,-D:Type,+route:Layout.Route,+scope:Scope.Scope,+handle:W.Handle,result:W.World & Dispatch.Outcome) -> W.World & Buffer.Receipt: match result: case (world,Dispatch.Completed{Store.Assignment{Store.Assigned{actualScope,actualHandle}}}):(world,Buffer.ScopePublished{route,Commands.Assign{scope,handle},Buffer.ScopeComplete{},[Buffer.ScopeStoreApplied{route,Store.Assign{scope,handle},Dispatch.Completed{Store.Assignment{Store.Assigned{actualScope,actualHandle}}}}],[]}) case (world,result):(world,Buffer.ScopePublished{route,Commands.Assign{scope,handle},Buffer.ScopeDenied{Buffer.ScopeStoreRefused{}},[Buffer.ScopeStoreApplied{route,Store.Assign{scope,handle},result}],[]}) Uses (15): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_command_buffer.bend&name=Receipt https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_command_buffer.bend&name=ScopeDenial https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_command_buffer.bend&name=ScopeStatus https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend&name=Route https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_command.bend&name=Operation https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_resource_dispatch.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_store.bend&name=Assignment https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_store.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_store.bend&name=Request https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/lifetime_scope.bend&name=Scope https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/world.bend&name=Handle https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/world.bend&name=World