Unsubscribe from the query controlled by this `SubscriptionHandle`, then run `on_end` when its rows are removed from the client cache.
(self, on_end: __sdk::OnEndedCallback<RemoteModule>)
| 356 | /// Unsubscribe from the query controlled by this `SubscriptionHandle`, |
| 357 | /// then run `on_end` when its rows are removed from the client cache. |
| 358 | fn unsubscribe_then(self, on_end: __sdk::OnEndedCallback<RemoteModule>) -> __sdk::Result<()> { |
| 359 | self.imp.unsubscribe_then(Some(on_end)) |
| 360 | } |
| 361 | |
| 362 | fn unsubscribe(self) -> __sdk::Result<()> { |
| 363 | self.imp.unsubscribe_then(None) |