decreaseMetaCounters

fun BaseChannel.decreaseMetaCounters(metaCounterMap: Map<String, Int>, handler: ResultHandler<Map<String, Int>>?)

Decreases meta counters. This decreases atomically the keyed meta counter by the specified value.

Since

4.15.0

Parameters

metaCounterMap

The meta counter map to decrease

handler

The handler for the result


suspend fun BaseChannel.decreaseMetaCounters(metaCounterMap: Map<String, Int>): Map<String, Int>

Deprecated

As of 4.17.0, replaced with awaitDecreaseMetaCounters(metaCounterMap).

Replace with

awaitDecreaseMetaCounters(metaCounterMap)

Decreases meta counters. This decreases atomically the keyed meta counter by the specified value.

Return

The decreased meta counter map

Since

4.15.0

Parameters

metaCounterMap

The meta counter map to decrease