Preparing search index...
The search index is not available
Selling Partner API SDK for JavaScript
Selling Partner API SDK for JavaScript
@sp-api-sdk/tokens-api-2021-03-01
Internal
IterableIterator
Interface IterableIterator<T, TReturn, TNext>
Describes a user-defined
Iterator
that is also iterable.
interface
IterableIterator
<
T
,
TReturn
,
TNext
>
{
[iterator]
(
)
:
IterableIterator
<
T
,
TReturn
,
TNext
>
;
next
(
...
__namedParameters
:
[
]
|
[
TNext
]
)
:
IteratorResult
<
T
,
TReturn
>
;
return
?
(
value
?:
TReturn
)
:
IteratorResult
<
T
,
TReturn
>
;
throw
?
(
e
?:
any
)
:
IteratorResult
<
T
,
TReturn
>
;
}
Type Parameters
T
TReturn
=
any
TNext
=
any
Hierarchy (
view full
)
Iterator
<
T
,
TReturn
,
TNext
>
IterableIterator
Index
Methods
[iterator]
next
return?
throw?
Methods
[iterator]
[iterator]
(
)
:
IterableIterator
<
T
,
TReturn
,
TNext
>
Returns
IterableIterator
<
T
,
TReturn
,
TNext
>
next
next
(
...
__namedParameters
)
:
IteratorResult
<
T
,
TReturn
>
Parameters
Rest
...
__namedParameters
:
[
]
|
[
TNext
]
Returns
IteratorResult
<
T
,
TReturn
>
Optional
return
return
(
value
?
)
:
IteratorResult
<
T
,
TReturn
>
Parameters
Optional
value
:
TReturn
Returns
IteratorResult
<
T
,
TReturn
>
Optional
throw
throw
(
e
?
)
:
IteratorResult
<
T
,
TReturn
>
Parameters
Optional
e
:
any
Returns
IteratorResult
<
T
,
TReturn
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
[iterator]
next
return
throw
Selling Partner API SDK for JavaScript
Loading...
Describes a user-defined Iterator that is also iterable.