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

getAndIncrement

open fun getAndIncrement(resultHandler: Handler<AsyncResult<Long>>): Unit

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

Parameters

resultHandler - handler which will be passed the value