Skip to content

aSoft-Ltd/kotlinx-atomic-collections

Repository files navigation

Mutable Atomic Collections

badge badge badge badge badge badge

Introduction

To avoid mutability exceptions, we are currently using this as underlying tool to work around mutable lists when crossing threads

Setup : Gradle

dependencies {
    implementation("tz.co.asoft:kotlinx-atomic-collections:0.0.10")
}

Samples

val list: MutableList<Int> = mutableAtomicListOf(1)

About

An extension of kotlin collections which are backed by atomics to support collections in different threads

Resources

License

Stars

Watchers

Forks

Packages

No packages published