https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

Mikołaj Kąkol

10/09/2020, 4:27 PM
Hi, it seams that
MutableStateFlow
is not suitable for MPP when multi-threading, since it will be frozen and crash. Any good replacement or knowledge if it will work eventually? My case is that I would like on Native (iOS) watch for value changes and be able to notify kotlin code when Native would like to change value. It's would be okay to have two fields, one for reading and second for writing.
t

Tijl

10/09/2020, 4:36 PM
This is a bug, upgrade to the latest version
1.3.9-native-mt-2
👍 1
m

Mikołaj Kąkol

10/09/2020, 5:02 PM
Thanks, I'll check it