GitHub
NPM
jsDelivr
Preparing search index...
The search index is not available
@taichunmin/buffer - v0.13.14
@taichunmin/buffer
<internal>
Generator
Interface Generator<T, TReturn, TNext>
interface
Generator
<
T
=
unknown
,
TReturn
=
any
,
TNext
=
any
>
{
"[iterator]"
()
:
Generator
<
T
,
TReturn
,
TNext
>
;
next
(
...
__namedParameters
:
[
]
|
[
TNext
]
)
:
IteratorResult
<
T
,
TReturn
>
;
return
(
value
:
TReturn
)
:
IteratorResult
<
T
,
TReturn
>
;
throw
(
e
:
any
)
:
IteratorResult
<
T
,
TReturn
>
;
}
Type Parameters
T
=
unknown
TReturn
=
any
TNext
=
any
Hierarchy
IteratorObject
<
T
,
TReturn
,
TNext
>
Generator
Index
Methods
[iterator]
next
return
throw
Methods
[iterator]
"[iterator]"
()
:
Generator
<
T
,
TReturn
,
TNext
>
Returns
Generator
<
T
,
TReturn
,
TNext
>
next
next
(
...
__namedParameters
:
[
]
|
[
TNext
]
)
:
IteratorResult
<
T
,
TReturn
>
Parameters
...
__namedParameters
:
[
]
|
[
TNext
]
Returns
IteratorResult
<
T
,
TReturn
>
return
return
(
value
:
TReturn
)
:
IteratorResult
<
T
,
TReturn
>
Parameters
value
:
TReturn
Returns
IteratorResult
<
T
,
TReturn
>
throw
throw
(
e
:
any
)
:
IteratorResult
<
T
,
TReturn
>
Parameters
e
:
any
Returns
IteratorResult
<
T
,
TReturn
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
[iterator]
next
return
throw
GitHub
NPM
jsDelivr
@taichunmin/buffer - v0.13.14
Loading...