Preparing search index...
The search index is not available
racer
racer
<internal>
AsyncGenerator
Interface AsyncGenerator<T, TReturn, TNext>
interface
AsyncGenerator
<
T
,
TReturn
,
TNext
>
{
[asyncIterator]
(
)
:
AsyncGenerator
<
T
,
TReturn
,
TNext
>
;
next
(
...
args
:
[
]
|
[
TNext
]
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
;
return
(
value
:
TReturn
|
PromiseLike
<
TReturn
>
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
;
throw
(
e
:
any
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
;
}
Type Parameters
T
=
unknown
TReturn
=
any
TNext
=
unknown
Hierarchy (
view full
)
AsyncIterator
<
T
,
TReturn
,
TNext
>
AsyncGenerator
Index
Methods
[async
Iterator]
next
return
throw
Methods
[async
Iterator]
[async
Iterator]
(
)
:
AsyncGenerator
<
T
,
TReturn
,
TNext
>
Returns
AsyncGenerator
<
T
,
TReturn
,
TNext
>
next
next
(
...
args
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Parameters
Rest
...
args
:
[
]
|
[
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
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
[async
Iterator]
next
return
throw
racer
Loading...