vertx / io.vertx.kotlin.core.shareddata / io.vertx.core.shareddata.Counter / getAndAddAwait
getAndAddAwait
suspend fun Counter.getAndAddAwait(value: Long): Long
Add the value to the counter atomically and return the value before the add
Parameters
value
- the value to add
resultHandler
- handler which will be passed the value