vertx / io.vertx.reactivex.core.shareddata / Counter / addAndGet

addAndGet

open fun addAndGet(value: Long, resultHandler: Handler<AsyncResult<Long>>): Unit

Add the value to the counter atomically and return the new count

Parameters

value - the value to add

resultHandler - handler which will be passed the value