periodic Sync
@ExperimentalCoroutinesApi
Starts a periodic sync job based on FhirSyncWorker.
Use the returned Flow to get updates of the sync job. Alternatively, use getWorkerInfo with the same FhirSyncWorker to retrieve the status of the job.
Return
a Flow of PeriodicSyncJobStatus
Parameters
periodic Sync Configuration
configuration to determine the sync frequency and retry mechanism