docs
4.2.4
common
docs
/
dev.inmo.tgbotapi.utils.extensions
/
accumulateByKey
accumulate
By
Key
fun
<
K
,
V
>
ReceiveChannel
<
Pair
<
K
,
V
>
>
.
accumulateByKey
(
delayMillis
:
Long
,
scope
:
CoroutineScope
=
CoroutineScope(Dispatchers.Default)
,
resultBroadcastChannelCapacity
:
Int
=
32
)
:
ReceiveChannel
<
AccumulatedValues
<
K
,
V
>
>