getAndDecrement

Deprecated (with error)

Use fetchAndDecrement() instead.

Replace with

this.fetchAndDecrement()

Atomically decrements the current value by one and returns the old value.

Since Kotlin

2.1