Search
Preparing search index...
The search index is not available
@open-rpc/typings
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
AsyncIterator
Interface AsyncIterator<T, TReturn, TNext>
Type parameters
T
TReturn
TNext
Hierarchy
AsyncIterator
AsyncGenerator
AsyncIterableIterator
Index
Methods
next
return
throw
Methods
next
next
(
...
args
:
[
]
|
[
TNext
]
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Parameters
Rest
...
args:
[
]
|
[
TNext
]
Returns
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Optional
return
return
(
value
?:
TReturn
|
PromiseLike
<
TReturn
>
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Parameters
Optional
value:
TReturn
|
PromiseLike
<
TReturn
>
Returns
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Optional
throw
throw
(
e
?:
any
)
:
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Parameters
Optional
e:
any
Returns
Promise
<
IteratorResult
<
T
,
TReturn
>
>
Globals
Async
Iterator
next
return
throw