Processes an iterable in chunks synchronously, 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. Commits are executed synchronously as the iteration progresses.
Key Features
Simple and fast: No async overhead
Error resilience: Uses exception2Result to wrap errors without aborting
Sequential processing: Chunks are processed in order
Processes an iterable in chunks synchronously, 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. Commits are executed synchronously as the iteration progresses.
Key Features