You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
340 B

# kotlinx.atomicfu
The idiomatic way to use atomic operations in [Kotlin/JS](https://kotlinlang.org/docs/reference/js-overview.html),
so that the same code can be shared with Kotlin/JVM.
```kotlin
private val top = atomic<Node?>(null)
```
See [README](https://github.com/Kotlin/kotlinx.atomicfu/blob/master/README.md) for more details.