@hyperjump/pact
Preparing search index...
async
reduce
Variable reduce
Const
reduce
:
<
A
,
B
>
(
fn
:
AsyncReducer
<
A
,
B
>
,
acc
:
B
,
iter
:
Iterable
<
A
>
|
AsyncIterable
<
A
>
,
)
=>
Promise
<
B
>
&
<
A
,
B
>
(
fn
:
AsyncReducer
<
A
,
B
>
,
acc
:
B
,
)
=>
(
iter
:
Iterable
<
A
>
|
AsyncIterable
<
A
>
)
=>
Promise
<
B
>
Same as
reduce
, but works with AsyncGenerators and async reducer functions.
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@hyperjump/pact
Loading...
Same as
reduce
, but works with AsyncGenerators and async reducer functions.