def read
import bendvy-ecs-core@0.1.0.4/events.bend as Eventsimport Base
import bendvy-ecs-core@0.1.0.4/world.bend as W
42# Read the unread append-only suffix and return the reader at current log
43# length, preserving event order. Namespace mismatch returns ForeignReader
44# without accessing events. No registered lifecycle cursor or stream retention
45# state is advanced. This legacy path has no lag/refusal protocol for log reset.
46# Example: examples/user-simulation/driver.bend; bounded readers: event-runtime.
47def read(~S: Data,~C: Type,~R: Type,~E: Data,world: W.World<S,C,R,E>,reader: Reader<S>) -> Observed<S,C,R,E>:
48 read_named(~S,~C,~R,~E,W.namespace(~S,~C,~R,~E,world),reader)
Uses (5)
Used by (0)
No other definition uses this definition.