ix
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Async
Sink
constructor
_ended
_resolvers
_values
__@async
Iterator
_push
end
error
next
write
Type parameters
TSource
Hierarchy
AsyncSink
Implements
AsyncIterableIterator
<
TSource
>
Index
Constructors
constructor
Properties
_ended
_resolvers
_values
Methods
__@async
Iterator
_push
end
error
next
write
Constructors
constructor
new
Async
Sink
(
)
:
AsyncSink
Returns
AsyncSink
Properties
Private
_ended
_ended
:
boolean
Private
_resolvers
_resolvers
:
AsyncResolver
<
IteratorResult
<
TSource
>
>
[]
Private
_values
_values
:
AsyncSinkItem
<
TSource
>
[]
Methods
__@async
Iterator
__@async
Iterator
(
)
:
this
Returns
this
Private
_push
_push
(
item
:
AsyncSinkItem
<
TSource
>
)
:
void
Parameters
item:
AsyncSinkItem
<
TSource
>
Returns
void
end
end
(
)
:
void
Returns
void
error
error
(
error
:
any
)
:
void
Parameters
error:
any
Returns
void
next
next
(
)
:
Promise
<
IteratorResult
<
TSource
>
>
Returns
Promise
<
IteratorResult
<
TSource
>
>
write
write
(
value
:
TSource
)
:
void
Parameters
value:
TSource
Returns
void
Generated using
TypeDoc