Allows control of a readable stream's state and internal queue.
Returns the desired size to fill the controlled stream's internal queue. It can be negative, if the queue is over-full. An underlying source ought to use this information to determine when and how to apply backpressure.
Closes the controlled readable stream. Consumers will still be able to read any previously-enqueued chunks from the stream, but once those are read, the stream will become closed.
Enqueues the given chunk
chunk in the controlled readable stream.
Errors the controlled readable stream, making all future interactions with it fail with the given error
Generated using TypeDoc