Table of Contents

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

true if the trigger was buffered; false if sync isn't running or a trigger is already buffered.