Expand description
Generic buffered batch writer for runtime side-effect queues.
This module owns the product-neutral mechanics behind a common Aster pattern: accept records quickly, flush when a batch threshold is reached, flush a partial batch after a short delay, and fall back to a direct write when the in-memory queue is full. Products still own the record type, persistence calls, error mapping, and any audit or metrics semantics.
Structsยง
- Buffered
Batch Config - Runtime buffering policy for
BufferedBatchWriter. - Buffered
Batch Writer - Generic asynchronous batch writer with threshold, delayed, and overflow flushing.