W3cubDocs
/
Deno
W3cubTools
Cheatsheets
About
ReadableStreamBYOBReader
interface
ReadableStreamBYOBReader {
readonly
closed
:
Promise
<
void
>
;
cancel(
reason?
:
any
)
:
Promise
<
void
>
;
read
<
V
extends
ArrayBufferView
>
(
view
:
V
)
:
Promise
<
ReadableStreamBYOBReadResult
<
V
>
>
;
releaseLock()
:
void
;
}
Properties
readonly
closed
:
Promise
<
void
>
Methods
cancel(
reason?
:
any
)
:
Promise
<
void
>
read
<
V
extends
ArrayBufferView
>
(
view
:
V
)
:
Promise
<
ReadableStreamBYOBReadResult
<
V
>
>
releaseLock()
:
void
© 2018–2021 the Deno authors
https://doc.deno.land/deno/stable/~/ReadableStreamBYOBReader