@hyperjump/pact
Preparing search index...
async
collectMap
Variable collectMap
Const
collectMap
:
<
A
,
B
>
(
iterator
:
AsyncIterable
<
[
A
,
B
]
>
)
=>
Promise
<
Map
<
A
,
B
>
>
Same as
collectMap
, but works with AsyncGenerators.
Type declaration
<
A
,
B
>
(
iterator
:
AsyncIterable
<
[
A
,
B
]
>
)
:
Promise
<
Map
<
A
,
B
>
>
Type Parameters
A
B
Parameters
iterator
:
AsyncIterable
<
[
A
,
B
]
>
Returns
Promise
<
Map
<
A
,
B
>
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@hyperjump/pact
Loading...
Same as
collectMap
, but works with AsyncGenerators.