ReadableStreamBYOBRequest: view property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Note: This feature is available in Web Workers.

The view getter property of the ReadableStreamBYOBRequest interface returns the current view.

Value

A typed array representing the destination region to which the controller can write generated data.

null if the request has already been responded to, by calling ReadableStreamBYOBRequest.respond() or ReadableStreamBYOBRequest.respondWithNewView().

Examples

See the examples in ReadableStreamBYOBRequest.

Specifications

Specification
Streams Standard
# ref-for-rs-byob-request-view①

Browser compatibility

BCD tables only load in the browser

See also