periodic Sync
inline fun <W : FhirSyncWorker> periodicSync(context: <ERROR CLASS>, periodicSyncConfiguration: PeriodicSyncConfiguration)
Content copied to clipboard
Starts a periodic sync based on FhirSyncWorker. It takes PeriodicSyncConfiguration to determine the sync frequency and RetryConfiguration to guide the retry mechanism. Caller can set retryConfiguration to null to stop retry.