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

Wrap FHIREngine API calls with "withContext(Dispatcher.IO) {}"

Open MJ1998 opened this issue 1 month ago • 0 comments

Describe the Issue The CRUD + Search APIs are suspend function which application can invoke in main thread also. We should wrap these function within `withContext(Dispatcher.IO){}" to ensure that this call runs on IO thread and does not block the Main thread.

Would you like to work on the issue?

MJ1998 avatar May 30 '24 05:05 MJ1998