A fixed-size ring of readings for one signal, held by the caller beside the interpreter. This module owns no state: its own history would keep a poisoned observation across a recycle.
Readonly
most readings kept; older ones are dropped
readings currently held
drops every reading
appends a reading, dropping the oldest past capacity; a non-finite value is ignored
oldest first; a copy, so a caller cannot mutate the ring through it
A fixed-size ring of readings for one signal, held by the caller beside the interpreter. This module owns no state: its own history would keep a poisoned observation across a recycle.