BundleRequests.spawned: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/bundle_requests.bend as BundleRequests Lines 20-23 of bendvy-ecs-core@0.1.0.4/bundle_requests.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/bundle_requests.bend&start_line=20&end_line=23 import Base import bundle_insert_adapter.bend as AD import bundle_batch.bend as BT def spawned(~S:Data,~Store:Type,~R:Type,~E:Data,~Packet:Type,~Context:Type,~Raw:Type,~Error:Data,~unpack:Packet -> Raw,context:Context,result:BT.Spawned) -> AD.Owner & Output: match result: case BT.Spawned{batch,target}: (AD.Owner{batch,context},Accepted{target,True{}}) case BT.SpawnRefused{batch,packet,error}: (AD.Owner{batch,context},Refused{unpack(packet),AD.EntityRefused{error}}) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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.4/bundle_batch.bend&name=Spawned https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/bundle_insert_adapter.bend&name=Owner https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/bundle_insert_adapter.bend&name=Refusal https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/bundle_requests.bend&name=Output