RelationQuery.component_join: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/relation_query.bend as RelationQuery Lines 106-109 of bendvy-ecs-core@0.1.0.4/relation_query.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/relation_query.bend&start_line=106&end_line=109 import Base import relation_commands.bend as A import world.bend as W import transaction.bend as X import capabilities.bend as Cap def component_join(~S:Data,~V:Data,~C:Type,~R:Type,~E:Data,~Out:Data,~spec:Spec,~body:@-H:Type -> Cap.ValueRead> -> H -> H & Out,handle:W.Handle,observed:X.Tx,R,A.Notice>,A.Notice> & (Bool & V),next:X.Tx,R,A.Notice>,A.Notice> -> X.Tx,R,A.Notice>,A.Notice> & List<&2,Out>) -> X.Tx,R,A.Notice>,A.Notice> & List<&2,Out>: match observed: case (tx,(False{},_)): next(tx) case (tx,(True{},component)): selected_row(~S,~V,~C,~R,~E,~Out,~body,inspect(~S,~V,~C,~R,~E,~spec,tx,handle,component),next) Uses (14): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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/capabilities.bend&name=ValueRead https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_commands.bend&name=Notice https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_commands.bend&name=Store https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_query.bend&name=Row https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_query.bend&name=Spec https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_query.bend&name=inspect https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_query.bend&name=selected_row https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/transaction.bend&name=Tx https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World