Function: toMinMaxWithAsync()
toMinMaxWithAsync<
Value
>(fn
):AsyncOptionalReducer
<MinMax
<Value
>>
Returns an async optional reducer that finds the MinMax value of the
values it receives by comparing the numerical values of each value, as
defined by fn
.
Use when composing reducers. Prefer minMaxWithAsync and minMaxWithConcur for direct use on iterables.
Type Parameters
• Value
Parameters
• fn
Returns
AsyncOptionalReducer
<MinMax
<Value
>>