https://kotlinlang.org logo
#orbit-mvi
Title
# orbit-mvi
v

vicky7230

03/15/2024, 7:09 AM
is
reduce
thread safe?
👌 1
please help
a

agrosner

03/15/2024, 5:08 PM
Sure what do you mean by thread safe? It runs things in atomic order I believe all running on same coroutines dispatcher
But good practice to make your states immutable
v

vicky7230

03/16/2024, 10:42 AM
@agrosner If it is atomic operation then it means it can be performed atomically without interference from other threads, which makes it thread safe. Correct me if my understanding is wrong.
2 Views