Jannis
12/17/2020, 1:02 PMarrow-fx repo: arrow-fx-stm 🎉
STM offers safe and composable modifications on concurrent state by wrapping them in transactions. State accessed from and in a STM-Transaction cannot lead to race conditons and parallel transactions cannot deadlock. This makes STM a worthwhile alternative to locking as it avoids all complexity involved while also allowing a high level of concurrency.
Documentation for STM can be found here: https://arrow-kt.io/docs/next/apidocs/arrow-fx-stm/arrow.fx.stm/-s-t-m/index.html
The implementation is still pretty new, so I'd love to hear any questions or feedback. 😅