google / android-fhir

The Android FHIR SDK is a set of Kotlin libraries for building offline-capable, mobile-first healthcare applications using the HL7® FHIR® standard on Android.
https://google.github.io/android-fhir/
Apache License 2.0
486 stars 289 forks source link

Add API to cancel sync jobs #2695

Open jingtang10 opened 4 days ago

jingtang10 commented 4 days ago

Is your feature request related to a problem? Please describe. The sync jobs are identified by the fhir sync worker class at the moment. but maybe it would be a good idea to create an id that can be used to cancelling the job.

Describe the solution you'd like add a new id to identify jobs - so that we can have unique jobs even if they reuse the same fhir sync worker. and that id can be used to cancel jobs.

Describe alternatives you've considered NA

Additional context NA

Would you like to work on the issue? @santosh-pingle

jingtang10 commented 4 days ago

@aditya-07 @MJ1998 fyi