Chaining of Async objects

I would like to call three web services using enyo.Ajax and concatenate the result of the 3 calls into one object before returning it. I think I can achieve that using an enyo.Async call but I didn't manage to get it to work correctly. Any hint would be very welcome. (I found the example of how to use the enyo.Async object posted at https://github.com/enyojs/enyo/wiki/Consuming-Web-Services a bit difficult to understand.)

Comments

  • The only way you can be sure the responses get the expected order is concatenating them in the handler of the previous request. If you don't need an exact order, just make the requests
Sign In or Register to comment.