Preparing search index...
The search index is not available
Endo API documentation
Endo API documentation
@endo/common
make-iterator
makeIterator
Function makeIterator
Makes a one-shot iterable iterator from a provided
next
function.
make
Iterator
<
T
>
(
next
)
:
IterableIterator
<
T
,
any
,
any
>
Type Parameters
T
=
unknown
Parameters
next
:
(
(
)
=>
IteratorResult
<
T
,
any
>
)
(
)
:
IteratorResult
<
T
,
any
>
Returns
IteratorResult
<
T
,
any
>
Returns
IterableIterator
<
T
,
any
,
any
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Endo API documentation
Loading...
Makes a one-shot iterable iterator from a provided
next
function.