p

    PHondogo

    1 year ago
    Does MutableState.value supposed to be assigned only in UI thread?
    Zach Klippenstein (he/him) [MOD]

    Zach Klippenstein (he/him) [MOD]

    1 year ago
    One of the features of the snapshot state system is that it makes it safe (or safer) to share mutable data across threads. So you can definitely write to them from multiple threads.