atomicLong

fun atomicLong(initValue: Long = -1L): ReadWriteProperty<Any?, Long>

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

Return

a ReadWriteProperty delegate

Parameters

initValue

the initial value (default -1L)