android-fhir
android-fhir copied to clipboard
FhirSynchronizer.synchronize can return a Flow<SyncJobStatus>
Describe the Issue Instead of synchronizer emitting SyncJobStatuses to a SharedFlow and also returning a SyncResult, we can refactor the code to just return a cold flow of SyncJobStatus.
This also eliminates the use of another coroutine job inside FhirSyncWorker.doWork().
Would you like to work on the issue? Yes