snapshot_records_since(
self,
index: int,
) -> tuple[list[InMemoryLogRecord], | Name | Type | Description |
|---|---|---|
index* | int |
Return retained structured records and the next absolute index.
Absolute indices are stable even as old records are evicted, so callers can poll incrementally without re-reading records they already consumed. Returning the records and the resume index together under the handler lock prevents a concurrent append from being skipped between separate reads.
Absolute emission index to start from.