WinJS.Promise.any gets invoked when any of a promise object finished its execution from a list of promise objects. We need to create an array of promise objects, which we are expecting to execute. On successful execution of any of the promise object from the array will invoke the “any” method to perform the tasks defined.
In this scenario, I need to execute a task on successful execution of a web services from a list of web services.
Solution: Continue reading