ReadableStreamBYOBRequest

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The ReadableStreamBYOBRequest interface of the Streams API represents a pull request into a ReadableByteStreamController view.

A view, as mentioned below, refers to a typed array representing the destination region to which the associated ReadableByteStreamController controller can write generated data.

Constructor

None. ReadableStreamBYOBRequest instance is created automatically by ReadableByteStreamController as needed.

Properties

ReadableStreamBYOBRequest.view Read only

Returns the current view.

Methods

ReadableStreamBYOBRequest.respond()

xxx

ReadableStreamBYOBRequest.respondWithNewView()

xxx

Examples

TBD.

Specifications

Specification
Streams Standard
# rs-byob-request-class

Browser compatibility

BCD tables only load in the browser