readAsync
fun <T : ArrayBufferView<ArrayBuffer>> readAsync(view: T, options: ReadableStreamBYOBReaderReadOptions = definedExternally): Promise<ReadableStreamReadResult<T>>(source)
The read() method of the ReadableStreamBYOBReader interface is used to read data into a view on a user-supplied buffer from an associated readable byte stream. A request for data will be satisfied from the stream's internal queues if there is any data present. If the stream queues are empty, the request may be supplied as a zero-copy transfer from the underlying byte source.