def since

bendvy-ecs-core@0.1.0.4 · event_runtime.bend:152

import bendvy-ecs-core@0.1.0.4/event_runtime.bend as EventRuntime
import Base

152def since(~E: Data,batches: List<&2,Batch<E>>,+cursor: Nat) -> List<&2,E>:
153  match batches:
154    case []: []
155    case Batch{+tick,+items} <> rest: since_checked(~E,Nat.is_lt(cursor,tick),items,since(~E,rest,cursor))

Uses (5)

Used by (3)