Optionalopts: { globalLimit?: number } = {}
OptionalglobalLimit?: numberTotal entry cap across all subscribers.
Drains and returns all pending blobs for a subscriber (FIFO).
Drains at most max blobs for a subscriber (FIFO), leaving any remainder.
Drains at most max blobs for (subscriber, channel) (FIFO). Non-matching
blobs stay queued in their original relative order. This is the
/rfed/pull paging primitive.
Enqueues a blob for an unreachable subscriber.
Per-subscriber overflow drops the oldest; the global cap back-pressures (the enqueue is silently skipped).
Drops entries older than maxAgeSec (SPEC §7: 7-day periodic prune).
count evicted.
Exports every pending blob as serializable records (grouped by subscriber).
Used by the @reticulum/node FS adapter.
Replaces the queue with the given records (direct population, used on load). Clears any existing buckets first.
Total entries across all subscribers.
In-memory deferred delivery queue.