Our app is doing many write transactions on app launch, but all of them are done in separated background threads, and at that time our view models observing necessary results or objects from main thread. These observations are blocking main thread. Just need clarification(s) that, how to manage observe operations while realm is in write transaction. I have few ideas about this situation;
Observe from background. Different run loop \ thread by using ThreadSafeReference
Giving high priority to observe operations, make sure write transactions will start after all observations done
Parallel observe or write in app general
Just I need to be clear how to manage this kind of situation.
Thank you (: