Function: toMinByAsync()
toMinByAsync<
Value
>(fn
):AsyncOptionalReducer
<Value
>
Returns an async optional reducer that finds the minimum value of the values
it receives based on the fn
AsyncCompare function.
Use when composing reducers. Prefer minByAsync and minByConcur for direct use on iterables.
Type Parameters
• Value
Parameters
• fn: AsyncCompare
<Value
>
Returns
AsyncOptionalReducer
<Value
>