Docs
GitHub
Preparing search index...
The search index is not available
@foxxmd/logging Docs
@foxxmd/logging Docs
index
<internal>
AsyncIterableIterator
Interface AsyncIterableIterator<T, TReturn, TNext>
Describes a user-defined
AsyncIterator
that is also async iterable.
interface
AsyncIterableIterator
<
T
,
TReturn
,
TNext
>
{
next
(
...
__namedParameters
:
[
]
|
[
TNext
]
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
;
return
?
(
value
?:
TReturn
|
PromiseLike
<
TReturn
>
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
;
throw
?
(
e
?:
any
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
;
[asyncIterator]
(
)
:
AsyncIterableIterator
<
T
,
TReturn
,
TNext
>
;
}
Type Parameters
T
TReturn
=
any
TNext
=
any
Hierarchy (
view full
)
AsyncIterator
<
T
,
TReturn
,
TNext
>
AsyncIterableIterator
Index
Methods
next
return?
throw?
[async
Iterator]
Methods
next
next
(
...
__namedParameters
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Parameters
Rest
...
__namedParameters
:
[
]
|
[
TNext
]
Returns
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Optional
return
return
(
value
?
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Parameters
Optional
value
:
TReturn
|
PromiseLike
<
TReturn
>
Returns
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Optional
throw
throw
(
e
?
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Parameters
Optional
e
:
any
Returns
Promise
<
IteratorResult
<
T
,
TReturn
>
>
[async
Iterator]
[async
Iterator]
(
)
:
AsyncIterableIterator
<
T
,
TReturn
,
TNext
>
Returns
AsyncIterableIterator
<
T
,
TReturn
,
TNext
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
next
return
throw
[async
Iterator]
Docs
GitHub
@foxxmd/logging Docs
Loading...
Describes a user-defined AsyncIterator that is also async iterable.