pause

abstract fun pause(): Readable

The readable.pause() method will cause a stream in flowing mode to stop emitting data events, switching out of flowing mode. Any data that becomes available will remain in the internal buffer.

This method is primarily used in conjunction with the readable.resume() method to manage stream flow.

Return

The Readable stream.