def reader_statuses
import bendvy-ecs-core@0.1.0.4/event_runtime.bend as EventRuntimeimport Base
300def reader_statuses(~E: Data,positions: List<&2,Position>,+batches: List<&2,Batch<E>>,+dropped: Nat) -> List<&2,ReaderStatus>:
301 match positions:
302 case []: []
303 case position <> rest: reader_status(~E,position,batches,dropped) <> reader_statuses(~E,rest,batches,dropped)