inc

suspend fun inc(amount: Double): Unit?

Increments the counter by the specified amount.

Parameters

amount

The value to increment the counter by. Must be non-negative.

Throws


suspend fun inc(): Unit?

Increments the counter by 1.