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