InspectorEventValue.selected: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/inspector_event_value.bend as InspectorEventValue Lines 9-13 of bendvy-ecs-core@0.1.0.4/inspector_event_value.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/inspector_event_value.bend&start_line=9&end_line=13 import Base import bendvy-ecs-core@0.1.0.4/event_runtime.bend as Ev import bendvy-ecs-core@0.1.0.4/event_stream.bend as Leaf # Read-only retained leaf values. No operational reader action or World adapter. def selected(~S:Data,~E:Data,allowed:Bool,+stream:Leaf.Stream) -> Leaf.Stream & Maybe<&2,List<&2,E>>: match allowed stream: case False{} stream:(stream,None{}) case True{} Leaf.Stream{domain,+batches,positions,nextReader,frameStart,boundary,capacity,dropped}:(Leaf.Stream{domain,batches,positions,nextReader,frameStart,boundary,capacity,dropped},Some{Ev.values(~E,batches)}) 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=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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/event_runtime.bend&name=values https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/event_stream.bend&name=Stream