kotlinx-atomicfu
kotlinx-atomicfu copied to clipboard
Let's strongly recommend avoid using atomicfu for public API (public & protected)
At least by changing this section: https://github.com/kotlin/kotlinx.atomicfu#dos-and-donts
The best solution is adding a check, see #119
We do actually have a test in kotlinx.coroutines that makes sure no atomic even leaks outside of the module.
Here is the related issue: #119