Docs
GitHub
Preparing search index...
The search index is not available
@foxxmd/logging Docs
@foxxmd/logging Docs
factory
<internal>
AsyncGenerator
Interface AsyncGenerator<T, TReturn, TNext>
interface
AsyncGenerator
<
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]
(
)
:
AsyncGenerator
<
T
,
TReturn
,
TNext
>
;
[asyncDispose]
(
)
:
PromiseLike
<
void
>
;
[asyncDispose]
(
)
:
PromiseLike
<
void
>
;
}
Type Parameters
T
=
unknown
TReturn
=
any
TNext
=
any
Hierarchy
AsyncIteratorObject
<
T
,
TReturn
,
TNext
>
AsyncGenerator
Index
Methods
next
return
throw
[async
Iterator]
[async
Dispose]
Methods
next
next
(
...
__namedParameters
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Parameters
Rest
...
__namedParameters
:
[
]
|
[
TNext
]
Returns
Promise
<
IteratorResult
<
T
,
TReturn
>
>
return
return
(
value
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Parameters
value
:
TReturn
|
PromiseLike
<
TReturn
>
Returns
Promise
<
IteratorResult
<
T
,
TReturn
>
>
throw
throw
(
e
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Parameters
e
:
any
Returns
Promise
<
IteratorResult
<
T
,
TReturn
>
>
[async
Iterator]
[async
Iterator]
(
)
:
AsyncGenerator
<
T
,
TReturn
,
TNext
>
Returns
AsyncGenerator
<
T
,
TReturn
,
TNext
>
[async
Dispose]
[async
Dispose]
(
)
:
PromiseLike
<
void
>
Returns
PromiseLike
<
void
>
[async
Dispose]
(
)
:
PromiseLike
<
void
>
Returns
PromiseLike
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
next
return
throw
[async
Iterator]
[async
Dispose]
Docs
GitHub
@foxxmd/logging Docs
Loading...