byobRequest
The byobRequest
read-only property of the ReadableByteStreamController
interface returns the current BYOB request, or null
if there are no pending requests.
An underlying byte source should check this property, and use it to write data to the stream if it exists (rather than using ReadableByteStreamController.enqueue()
).
This will result in an efficient zero-byte transfer of the data to the consumer.
Value
A ReadableStreamBYOBRequest
object instance, or null
.