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

getAndIncrementAwait

suspend fun Counter.getAndIncrementAwait(): Long

Increment the counter atomically and return the value before the increment.

Parameters

resultHandler - handler which will be passed the value