decrement
Требования к платформе и версии: Native (1.3)
fun decrement()Устарело: Используйте decrementAndGet() или getAndDecrement() вместо этого.
Атомарно уменьшает текущее значение на единицу.
© 2010–2023 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native.concurrent/-atomic-int/decrement.html