You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New shared config:BackpressureConfig<T> (maxConcurrency?, bufferSize?, onBufferOverflow?) added to configs.ts.
Four async transfers gained backpressure support:AsyncSinkTransfer, AsyncWriteTransfer, AsyncConvertTransfer, AsyncConditionTransfer. Their asyncPush() methods now route data through _process() / _dequeue() — limiting concurrent async operations, queuing excess data in an internal buffer, and invoking onBufferOverflow (or silently dropping) when both concurrency and buffer are full.
Backward-compatible: All backpressure options default to Infinity — existing code behaves exactly as before (unlimited parallel processing, no buffering).
destroy() on all four transfers now clears the internal buffer, discarding queued items.
Documentation
README — Backpressure section: New subsection under Async Transfers documenting BackpressureConfig<T> options, mechanics, and a usage example.