ReadableStreamBYOBRequest: view property

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

desktopmobileserver
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
Deno
Node.js
view

See also