atomicLong

fun atomicLong(initValue: Long = 0): ReadWriteProperty<Any?, Long>

Creates a thread-safe Long property delegate backed by AtomicLong.

Return

a ReadWriteProperty delegate

Parameters

initValue

the initial value (default 0L)