DecodeTraversal.completed: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/decode_traversal.bend as DecodeTraversal Lines 12-18 of bendvy-ecs-core@0.1.0.4/decode_traversal.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/decode_traversal.bend&start_line=12&end_line=18 import Base import bendvy-ecs-core@0.1.0.4/decode_frame.bend as F import bendvy-ecs-core@0.1.0.4/compose.bend as Query import bendvy-ecs-core@0.1.0.4/transaction.bend as T import bendvy-ecs-core@0.1.0.4/decode_data.bend as D import bendvy-ecs-core@0.1.0.4/ordinary_declaration.bend as Identity # Trusted traversal kernel. A is an explicit application-owned state threaded # once across selected rows; the Local adapter retains it on system failure. # Data row observations stay commit-only. This is not a new captures policy. def completed(~S:Data,~C:Type,~R:Type,~E:Data,~P:Type,~Q:Type,~A:Type,~U:Data,~Out:Data,~Ops:Type -> Type,~identity:Identity.Declaration,~project:P -> P & D.Raw,next:F.Frame -> A -> List<&2,Out> -> F.Frame & (A & (T.Outcome> & List<&2,Out>)),frame:F.Frame,state:A,values:List<&2,Out>,result:T.Outcome>) -> F.Frame & (A & (T.Outcome> & List<&2,Out>)): match result: case T.Failure{error}:(frame,(state,(T.Failure{error},[]))) case T.Success{}:next(frame,state,values) Uses (8): 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.4/compose.bend&name=Error https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_data.bend&name=Raw https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_frame.bend&name=Frame https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_declaration.bend&name=Declaration https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/transaction.bend&name=Outcome