vertx / io.vertx.kotlin.core.shareddata / io.vertx.core.shareddata.Counter

### Extensions for io.vertx.core.shareddata.Counter

addAndGetAwait | `suspend fun Counter.addAndGetAwait(value: Long): Long` Add the value to the counter atomically and return the new count
compareAndSetAwait | `suspend fun Counter.compareAndSetAwait(expected: Long, value: Long): Boolean` Set the counter to the specified value only if the current value is the expectec value. This happens atomically.
decrementAndGetAwait | `suspend fun Counter.decrementAndGetAwait(): Long` Decrement the counter atomically and return the new count
getAndAddAwait | `suspend fun Counter.getAndAddAwait(value: Long): Long` Add the value to the counter atomically and return the value before the add
getAndIncrementAwait | `suspend fun Counter.getAndIncrementAwait(): Long` Increment the counter atomically and return the value before the increment.
getAwait | `suspend fun Counter.getAwait(): Long` Get the current value of the counter
incrementAndGetAwait | `suspend fun Counter.incrementAndGetAwait(): Long` Increment the counter atomically and return the new count