Join Slack
Powered by
Are `Flow`s safe to pass between threads in Kotlin...
# multiplatform
s
spierce7
03/19/2020, 2:17 AM
Are `Flow`s safe to pass between threads in Kotlin/native?
e
elizarov
03/19/2020, 9:24 AM
It depends. By itself, the flow is stateless thus can be frozen and shared. But if you reference some mutable state from inside of the flow, then you cannot.
10
Views
Open in Slack
Previous
Next