can be null
The close method will close the controlled readable stream.
The desiredSize getter returns the desired size to fill the controlled stream’s internal queue.
the size of the strem - no idea if this actually is an int
The enqueue method will enqueue a given chunk in the controlled readable stream.
throws scala.scalajs.js.RangeError if size is too big
seems like its an undefOr[Int] of the size
The error method will error the readable stream, making all future interactions with it fail with the given error e.
: an error - can this be any type? throws scala.scalajs.js.TypeError