You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(runner): implement await storage.synced() for new TX system (#1503)
feat(runner): implement await storage.synced() for new TX system
Add synced() method to wait for all pending syncs and commits to complete:
- Add synced() to IStorageManager and IStorageProvider interfaces
- Track commit promises in Replica to await pending transactions
- Implement synced() in Provider to wait for both subscriptions and commits
- Add getAllPromises() to SelectorTracker for subscription tracking
- Update Storage.synced() to use new implementation when not in shim mode
This ensures all pending operations complete before synced() resolves, including
both document syncs and transaction commits.
0 commit comments