Skip to main content

max / makenotwork

Add SyncStore::client() accessor A consumer that also drives auth/subscription/tier flows against the same client (GoingsOn's sync commands) reaches it through the store instead of holding a second handle. Part of the GO -> SyncStore migration (Groups p4 M2). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-07-23 21:34 UTC
Commit: a0a7e0399f5023d619850e845a60f61218f62996
Parent: bb27bf4
1 file changed, +7 insertions, -0 deletions
@@ -106,6 +106,13 @@ impl<C> SyncStore<C> {
106 106 pub fn device_name(&self) -> &str {
107 107 &self.device_name
108 108 }
109 +
110 + /// The underlying transport client. A consumer that also drives auth,
111 + /// subscription, or tier flows against the same client (GoingsOn's sync
112 + /// commands) reaches it here instead of holding a second handle.
113 + pub fn client(&self) -> &Arc<C> {
114 + &self.client
115 + }
109 116 }
110 117
111 118 impl<C> SyncStoreBuilder<C> {