Method TriggerSync
- Namespace
- PowerSync.Common.Attachments
- Assembly
- PowerSync.Common.dll
TriggerSync()
Requests a sync pass to run as soon as possible. Useful from error handlers ("retry now") or UI ("sync now"). Coalesces with any in-flight or pending sync; safe to call rapidly.
public bool TriggerSync()
Returns
- bool
trueif the trigger was buffered;falseif sync isn't running or a trigger is already buffered.