Skip to content

AsyncQueueSinkOverflow

AsyncQueueSinkOverflow = "block" | "drop-oldest" | "drop" | "error"

Defined in: packages/app-report/src/sink/async-queue-sink.ts:16

What happens to a write once the internal queue reaches maxQueue.

"block" and "error" map onto Queue (waitEnqueue/enqueue); "drop-oldest" and "drop" map onto LossyQueue (overflowPolicy "evict"/"skip") — one @ac-kit/data type per policy rather than hand-rolling the overflow behaviour here.