IndexedLifecycle.write_ready: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/indexed_lifecycle.bend as IndexedLifecycle Lines 27-29 of bendvy-ecs-core@0.1.0.3/indexed_lifecycle.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/indexed_lifecycle.bend&start_line=27&end_line=29 import Base import bendvy-ecs-core@0.1.0.3/change_tick.bend as Tick import lifecycle.bend as L def write_ready(+id:U32,added:Array>,changed:Array>,capacity:U32,depth:Nat,exceptional:List<&2,L.Entry>,stamp:L.Stamp) -> Metadata: match stamp: case L.Stamp{first,last}: Metadata{Array.set(Maybe<&2,Tick.Tick>,added,U32.sub(id,1),first),Array.set(Maybe<&2,Tick.Tick>,changed,U32.sub(id,1),last),capacity,depth,exceptional} Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.set https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/change_tick.bend&name=Tick https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/indexed_lifecycle.bend&name=Metadata https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/lifecycle.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/lifecycle.bend&name=Stamp