Destroys the stream and stops emitting any event.
The 'data' event is emitted whenever the stream is relinquishing ownership of a chunk of data to a consumer.
Emitted when any error occurs.
The 'end' event is emitted when there is no more data to be consumed from the stream. The 'end' event will not be emitted unless the data is completely consumed.
Stops emitting any events until resume() is called.
Allows to remove a listener that was previously added.
Starts emitting events again after pause() was called.