android-fhir icon indicating copy to clipboard operation
android-fhir copied to clipboard

FhirSynchronizer.synchronize can return a Flow<SyncJobStatus>

Open MJ1998 opened this issue 1 year ago • 0 comments

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

MJ1998 avatar Dec 24 '23 13:12 MJ1998