Skip to main content

ProgressWithOperations

Information about a progressing download made by the PowerSync SDK.

To obtain these values, use SyncProgress, available through SyncStatus#downloadProgress.

Extended by

Properties

PropertyTypeDescription
downloadedFractionnumberRelative progress, as ProgressWithOperations.downloadedOperations of ProgressWithOperations.totalOperations. This will be a number between 0.0 and 1.0 (inclusive). When this number reaches 1.0, all changes have been received from the sync service. Actually applying these changes happens before the downloadProgress field is cleared from SyncStatus, so progress can stay at 1.0 for a short while before completing.
downloadedOperationsnumberThe amount of operations that have already been downloaded.
totalOperationsnumberThe total amount of operations to download for the current sync iteration to complete.