one Time Sync
suspend fun oneTimeSync(context: <ERROR CLASS>, fhirEngine: FhirEngine, downloadManager: DownloadWorkManager): Result
Content copied to clipboard
Does a one time sync based on ResourceSearchParams. Returns a Result that tells caller whether process was Success or Failure. In case of failure, caller needs to take care of the retry
inline fun <W : FhirSyncWorker> oneTimeSync(context: <ERROR CLASS>, retryConfiguration: RetryConfiguration? = defaultRetryConfiguration)
Content copied to clipboard
Starts a one time sync based on FhirSyncWorker. In case of a failure, RetryConfiguration will guide the retry mechanism. Caller can set retryConfiguration to null to stop retry.