File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -407,14 +407,13 @@ class SyncClient {
407407 checkObx (C .sync_stop (_ptr));
408408 }
409409
410- /// Triggers a reconnection attempt immediately.
410+ /// Triggers a reconnection attempt immediately. Returns if a reconnect was
411+ /// actually triggered.
411412 ///
412413 /// By default, an increasing backoff interval is used for reconnection
413414 /// attempts. But sometimes the code using this API has additional knowledge
414415 /// and can initiate a reconnection attempt sooner.
415- void triggerReconnect () {
416- checkObx (C .sync_trigger_reconnect (_ptr));
417- }
416+ bool triggerReconnect () => checkObxSuccess (C .sync_trigger_reconnect (_ptr));
418417
419418 /// Request updates since we last synchronized our database.
420419 ///
You can’t perform that action at this time.
0 commit comments