flowing and paused modes

The two ways a Readable stream delivers data: in flowing mode it pushes chunks as fast as they arrive, in paused mode the consumer pulls them.

In more detail

A new stream starts paused, with readableFlowing set to null. Adding a data listener or calling resume() or pipe() switches it to flowing; pause() switches it back.

Related terms

Taught in

References