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