max / makenotwork
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> { |