I have a very long webAPI request that basically does the following:
1. retrieves a list of item categories from the db
2. for each category, retrieve all the items in the category
Now the whole process takes a very long time, and I do not want the user to wait for the completion of the whole process, if the category has finished loading, I want it to return to the client.
Does anyone know how I can do this? Send a request and receive server progress notifications whenever a part of the request is complete?
source
share