In my use case, I have a list and with every cell, there is a button to download a particular document. From the listing, they can click on any number of those buttons and the document has to be downloaded in the background but in a serial fashion. We will have to show some animation while downloading a particular cell document.
I've tried concurrent way and it's working fine but our main application is not able to handle such requests. So, we need to call those APIs sequential. Please let me know how we can do that.
Any help will be highly appreciated.