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