I am currently looking into making use of the async/await functionality to:

1. submit a file.
2. This file for example could contain one or more entries. (eg. Could be an XML file with only one element of , or it could have multiple nodes listed per file)
3. I need to process each Call individually, add it to a list of completed items, and give back progress as once an individual task completion. (Completed: 0/2 ----> Completed 1/2...)
4. This needs to be send back to the view so whoever is using this feature can see the individual Call has been imported.

To achieve this I will be using Json to update the page/progressbar asynchronously.

The problem I'm foreseeing is this:

When I call the submit to go to a controller, I will need a response for each individual Call. I do not know how many Calls are in the file until I have submitted the file and completed some processing already (to determine each Call node). Is there a clean approach to getting a response for each completed item I add to the list?