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