Pass a runtime to observe that runtime's status. Called with no argument
it reads the process-wide store, which is correct for a single-runtime app
but reports whichever runtime wrote last when several coexist — so an app
that switches account or practice should pass its runtime (ADR-009 G1).
React subscription hook for sync status.
Pass a runtime to observe that runtime's status. Called with no argument it reads the process-wide store, which is correct for a single-runtime app but reports whichever runtime wrote last when several coexist — so an app that switches account or practice should pass its runtime (ADR-009 G1).