We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88521ea commit 3a43f59Copy full SHA for 3a43f59
objectbox/lib/src/native/sync.dart
@@ -407,14 +407,13 @@ class SyncClient {
407
checkObx(C.sync_stop(_ptr));
408
}
409
410
- /// Triggers a reconnection attempt immediately.
+ /// Triggers a reconnection attempt immediately. Returns if a reconnect was
411
+ /// actually triggered.
412
///
413
/// By default, an increasing backoff interval is used for reconnection
414
/// attempts. But sometimes the code using this API has additional knowledge
415
/// and can initiate a reconnection attempt sooner.
- void triggerReconnect() {
416
- checkObx(C.sync_trigger_reconnect(_ptr));
417
- }
+ bool triggerReconnect() => checkObxSuccess(C.sync_trigger_reconnect(_ptr));
418
419
/// Request updates since we last synchronized our database.
420
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments