Preparing search index...
The search index is not available
@szilanor/stream
@szilanor/stream
groupByAsync
Function groupByAsync
group
By
Async
<
T
,
TKey
>
(
keySelector
)
:
AsyncCollectorFunction
<
T
,
Map
<
TKey
,
T
[]
>
>
Creates a group of entries where the group key is calculated by the selector function.
Type Parameters
T
TKey
Parameters
keySelector
:
(
(
entry
:
T
)
=>
TKey
)
(
entry
)
:
TKey
Parameters
entry
:
T
Returns
TKey
Returns
AsyncCollectorFunction
<
T
,
Map
<
TKey
,
T
[]
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@szilanor/stream
Loading...
Creates a group of entries where the group key is calculated by the selector function.