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

decrementAndGetAwait

suspend fun Counter.decrementAndGetAwait(): Long

Decrement the counter atomically and return the new count

Parameters

resultHandler - handler which will be passed the value