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

Marc Knaup

10/13/2020, 1:32 AM
Property delegation to a
(Mutable)StateFlow
may be useful 🙂
Copy code
val state by someStateFlow()
…
println(state)

var foo by someMutableStateFlow()
…
state = newFoo()
7
e

ephemient

10/13/2020, 4:24 AM
easy enough
👍 1
2 Views