Processes an iterable in chunks asynchronously, committing each chunk when a condition is met.
This function accumulates items from an iterable into chunks and commits them
based on a split condition. Each commit is awaited before consuming the next item,
making it safe for infinite iterables.
Key Features
Infinite iterable support: Awaits each commit before consuming next item
Sequential processing: Commits execute one at a time in order
Error resilience: Uses exception2Result to wrap errors without aborting
Processes an iterable in chunks asynchronously, committing each chunk when a condition is met.
This function accumulates items from an iterable into chunks and commits them based on a split condition. Each commit is awaited before consuming the next item, making it safe for infinite iterables.
Key Features