Preparing search index...
The search index is not available
@szilanor/stream
@szilanor/stream
groupAsync
Function groupAsync
group
Async
<
T
,
TKey
>
(
keySelector
)
:
AsyncCollectorFunction
<
T
,
Record
<
TKey
,
T
[]
>
>
Creates a group of entries where the group key is calculated by the selector function.
Type Parameters
T
TKey
extends
string
|
number
|
symbol
Parameters
keySelector
:
(
(
entry
:
T
)
=>
TKey
)
(
entry
)
:
TKey
Parameters
entry
:
T
Returns
TKey
Returns
AsyncCollectorFunction
<
T
,
Record
<
TKey
,
T
[]
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@szilanor/stream
AsyncStream
Stream
AsyncCollectorFunction
AsyncMapperFunction
AsyncOperationFunction
AsyncReduceFunction
CallbackFunction
CollectorFunction
CompareFunction
EqualsFunction
MapperFunction
MaybeAsyncCallbackFunction
MaybeAsyncPredicateFunction
MaybeAsyncValue
OperationFunction
PredicateFunction
ReduceFunction
TypeGuardFunction
ValueOrFactory
all
allAsync
any
anyAsync
appendWith
appendWithAsync
arrayFilter
arrayMap
buffer
bufferAsync
chain
chainAsync
compound
compoundAsync
concat
concatAsync
concatWith
concatWithAsync
contains
containsAsync
count
countAsync
cycle
defaultIfEmpty
defaultIfEmptyAsync
distinct
distinctAsync
distinctBy
distinctByAsync
distinctUntilChanged
distinctUntilChangedAsync
distinctUntilKeyChanged
distinctUntilKeyChangedAsync
elementAt
elementAtAsync
empty
endWith
endWithAsync
every
everyAsync
falsy
falsyAsync
filter
filterAsync
find
findAsync
findIndex
findIndexAsync
findLast
findLastAsync
findLastIndex
findLastIndexAsync
findLastOrDefault
findLastOrDefaultAsync
findOrDefault
findOrDefaultAsync
first
firstAsync
firstIndex
firstIndexAsync
firstOrDefault
firstOrDefaultAsync
flat
flatAsync
flatMap
flatMapAsync
flatten
flattenAsync
forEach
forEachAsync
from
fromAsync
group
groupAsync
groupBy
groupByAsync
groupByRecord
groupByRecordAsync
includes
includesAsync
isEmpty
isEmptyAsync
isFunction
isIterable
isNotNull
isNotNullOrEmpty
isNotNullOrWhitespace
join
joinAsync
last
lastAsync
lastIndex
lastIndexAsync
lastOrDefault
lastOrDefaultAsync
length
lengthAsync
map
mapAsync
max
maxAsync
maxBy
maxByAsync
min
minAsync
minBy
minByAsync
noop
noopAsync
notNullOrEmpty
notNullOrEmptyAsync
notNullOrWhitespace
notNullOrWhitespaceAsync
of
ofType
ofTypeAsync
pairwise
pairwiseAsync
partition
partitionAsync
pipe
pipeAsync
product
range
reduce
reduceAsync
repeat
sequenceEquals
sequenceEqualsAsync
skip
skipAsync
skipWhile
skipWhileAsync
some
someAsync
startWith
startWithAsync
stream
streamAsync
streamOf
sum
sumAsync
take
takeAsync
takeWhile
takeWhileAsync
tap
tapAsync
toArray
toArrayAsync
toMap
toMapAsync
toObject
toObjectAsync
toRecord
toRecordAsync
toSet
toSetAsync
truthy
truthyAsync
zip
zipAsync
zipLongest
"
"
Creates a group of entries where the group key is calculated by the selector function.