Back to Content

ReadableStreamBYOBRequest: view property

files/en-us/web/api/readablestreambyobrequest/view/index.md

latest760 B
Original Source

{{APIRef("Streams")}}{{AvailableInWorkers}}

The view getter property of the {{domxref("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 {{domxref("ReadableStreamBYOBRequest.respond()")}} or {{domxref("ReadableStreamBYOBRequest.respondWithNewView()")}}.

Examples

See the examples in {{domxref("ReadableStreamBYOBRequest")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also