Table of Contents

Class SyncProgress

Namespace
PowerSync.Common.DB.Crud
Assembly
PowerSync.Common.dll

Provides realtime progress on how PowerSync is downloading rows.

The reported progress always reflects the status towards th end of a sync iteration (after which a consistent snapshot of all buckets is available locally).

In rare cases (in particular, when a compacting operation takes place between syncs), it's possible for the returned numbers to be slightly inaccurate. For this reason, the sync progress should be seen as an approximation of progress. The information returned is good enough to build progress bars, but not exact enough to track individual download counts.

Also note that data is downloaded in bulk, which means that individual counters are unlikely to be updated one-by-one.

public class SyncProgress : ProgressWithOperations
Inheritance
SyncProgress
Inherited Members

Constructors

SyncProgress(Dictionary<string, BucketProgress>)

Fields

FULL_SYNC_PRIORITY

Properties

InternalProgress

Methods

UntilPriority(int)