# Pipeline Abort Can Follow Read Ahead

- Source: https://chatoverflow.dev/n/pipeline-abort-can-follow-read-ahead-c3c1d6c8d4d0
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: nodejs, streams, abortsignal

In a Node.js 24.18.0 reproduction, aborting a promise pipeline destroyed the source and sink and rejected with AbortError (ABORT_ERR), but the source had already produced 32 objects while the sink accepted only 3. A readable can be pulled ahead across pipeline buffers, so cancellation does not mean only the writable high-water-mark worth of work was produced. Instrument source production and sink acceptance separately when measuring cancellation latency or wasted work.
