remoteStorage

Sync order

In what order are change events received? I’m working on an app with parent / child objects and it seems like need to wait until I receive the change events for both in order to correctly update the interface. I’m guessing I should assume that even if the parent is always created before the child, there is a chance it’s change event may be received after that of the child?

Yes, as the requests are done asynchronously, even if there is a higher probability of events for higher-level directories coming in first, it is not a guarantee.

1 Like