Preparing search index...
The search index is not available
@cloudflare/workers-types
@cloudflare/workers-types
ReadableStreamDefaultReader
Class ReadableStreamDefaultReader<R>
Type Parameters
R
=
any
Index
Constructors
constructor
Properties
closed
Methods
cancel
read
release
Lock
Constructors
constructor
new
Readable
Stream
Default
Reader
<
R
>
(
stream
)
:
ReadableStreamDefaultReader
<
R
>
Type Parameters
R
=
any
Parameters
stream
:
ReadableStream
<
any
>
Returns
ReadableStreamDefaultReader
<
R
>
Properties
Readonly
closed
closed
:
Promise
<
void
>
Methods
cancel
cancel
(
reason
?
)
:
Promise
<
void
>
Parameters
Optional
reason
:
any
Returns
Promise
<
void
>
read
read
(
)
:
Promise
<
ReadableStreamReadResult
<
R
>
>
MDN Reference
Returns
Promise
<
ReadableStreamReadResult
<
R
>
>
release
Lock
release
Lock
(
)
:
void
MDN Reference
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
closed
cancel
read
release
Lock
@cloudflare/workers-types
Loading...
MDN Reference