Preparing search index...
The search index is not available
racer
racer
<internal>
ReadableStream
Interface ReadableStream<R>
This Streams API interface represents a readable stream of byte data.
interface
ReadableStream
<
R
>
{
locked
:
boolean
;
[asyncIterator]
(
)
:
AsyncIterableIterator
<
R
>
;
cancel
(
reason
?:
any
)
:
Promise
<
void
>
;
getReader
(
options
:
Object
)
:
ReadableStreamBYOBReader
;
getReader
(
)
:
ReadableStreamDefaultReader
<
R
>
;
getReader
(
options
?:
ReadableStreamGetReaderOptions
)
:
ReadableStreamReader
<
R
>
;
pipeThrough
<
T
>
(
transform
:
ReadableWritablePair
<
T
,
R
>
,
options
?:
StreamPipeOptions
)
:
ReadableStream
<
T
>
;
pipeTo
(
destination
:
WritableStream
<
R
>
,
options
?:
StreamPipeOptions
)
:
Promise
<
void
>
;
tee
(
)
:
[
ReadableStream
<
R
>
,
ReadableStream
<
R
>
]
;
values
(
options
?:
Object
)
:
AsyncIterableIterator
<
R
>
;
}
Type Parameters
R
=
any
Index
Properties
locked
Methods
[async
Iterator]
cancel
get
Reader
pipe
Through
pipe
To
tee
values
Properties
Readonly
locked
locked
:
boolean
Methods
[async
Iterator]
[async
Iterator]
(
)
:
AsyncIterableIterator
<
R
>
Returns
AsyncIterableIterator
<
R
>
cancel
cancel
(
reason
?
)
:
Promise
<
void
>
Parameters
Optional
reason
:
any
Returns
Promise
<
void
>
get
Reader
get
Reader
(
options
)
:
ReadableStreamBYOBReader
Parameters
options
:
Object
Returns
ReadableStreamBYOBReader
get
Reader
(
)
:
ReadableStreamDefaultReader
<
R
>
Returns
ReadableStreamDefaultReader
<
R
>
get
Reader
(
options
?
)
:
ReadableStreamReader
<
R
>
Parameters
Optional
options
:
ReadableStreamGetReaderOptions
Returns
ReadableStreamReader
<
R
>
pipe
Through
pipe
Through
<
T
>
(
transform
,
options
?
)
:
ReadableStream
<
T
>
Type Parameters
T
Parameters
transform
:
ReadableWritablePair
<
T
,
R
>
Optional
options
:
StreamPipeOptions
Returns
ReadableStream
<
T
>
pipe
To
pipe
To
(
destination
,
options
?
)
:
Promise
<
void
>
Parameters
destination
:
WritableStream
<
R
>
Optional
options
:
StreamPipeOptions
Returns
Promise
<
void
>
tee
tee
(
)
:
[
ReadableStream
<
R
>
,
ReadableStream
<
R
>
]
Returns
[
ReadableStream
<
R
>
,
ReadableStream
<
R
>
]
values
values
(
options
?
)
:
AsyncIterableIterator
<
R
>
Parameters
Optional
options
:
Object
Returns
AsyncIterableIterator
<
R
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
locked
Methods
[async
Iterator]
cancel
get
Reader
pipe
Through
pipe
To
tee
values
racer
Loading...
This Streams API interface represents a readable stream of byte data.