Arcana::TopicLog
The posts of one #topic: a log on the bus that everyone shares. A
post is stored once and numbered from 1; anyone reads from any point
with read(after:), without subscribing and without consuming it.
The log keeps the newest retention posts and drops older ones.
Constants
DEFAULT_RETENTION = 10000
MAX_RETENTION = 100000
The most posts a topic may keep: every kept post is in memory.
Constructors
Class methods
Instance methods
address
SourceRestore a snapshot, replacing what the log holds. Posts must be in
order with consecutive numbers, as dump gives them.
The posts numbered after after, oldest first, at most limit of
them. Posts already dropped are skipped: compare first with
after + 1 to tell whether any were missed.
retention
Source