Removals.consumed: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/removals.bend as Removals Lines 61-64 of bendvy-ecs-core@0.1.0.4/removals.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/removals.bend&start_line=61&end_line=64 import Base import bendvy-ecs-core@0.1.0.4/world.bend as W import bendvy-ecs-core@0.1.0.4/system.bend as Sys def consumed(~S: Data,~C: Type,~R: Type,~E: Data,~F: Data,~select: E -> Maybe<&2,Record>,~Error: Data,~Out: Type,reader: Reader,next: Nat,world: W.World,result: Result<&2,&1,Error,Out>) -> Run: match result: case Done{out}: finished(~S,~C,~R,~E,~F,~select,~Error,~Out,reader,next,Sys.Succeeded{world,out}) case Fail{error}: finished(~S,~C,~R,~E,~F,~select,~Error,~Out,reader,next,Sys.Failed{world,error}) Uses (9): 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=Result https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/removals.bend&name=Reader https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/removals.bend&name=Record https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/removals.bend&name=Run https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/removals.bend&name=finished https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/system.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World