Ciorent
Preparing search index...
Streams
read
Function read
read
<
T
extends
{}
=
{}
>
(
s
:
[
head
:
QueueNode
<
T
|
(
(
val
?:
T
)
=>
void
)
>
,
tail
:
QueueNode
<
T
|
(
(
val
?:
T
)
=>
void
)
>
,
callback
:
PromiseFn
<
T
>
,
queueing
:
boolean
,
]
,
)
:
Promise
<
undefined
|
T
>
Read a value from the stream
Type Parameters
T
extends
{}
=
{}
Parameters
s
:
[
head
:
QueueNode
<
T
|
(
(
val
?:
T
)
=>
void
)
>
,
tail
:
QueueNode
<
T
|
(
(
val
?:
T
)
=>
void
)
>
,
callback
:
PromiseFn
<
T
>
,
queueing
:
boolean
,
]
Returns
Promise
<
undefined
|
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Ciorent
Loading...
Read a value from the stream