Function: toMinMaxByAsync()
toMinMaxByAsync<
Value
>(fn
):AsyncOptionalReducer
<MinMax
<Value
>>
Returns an async optional reducer that finds the MinMax value of the
values it receives based on the fn
AsyncCompare function.
Use when composing reducers. Prefer minMaxByAsync and minMaxByConcur for direct use on iterables.
Type Parameters
• Value
Parameters
fn
AsyncCompare
<Value
>
Returns
AsyncOptionalReducer
<MinMax
<Value
>>
Since
v2.0.0