Quantcast
Channel: T. C. Mits 108 » Promises
Browsing latest articles
Browse All 2 View Live

Image may be NSFW.
Clik here to view.

JavaScript Chaining Promises to Promises

When you create a Promise you can chain asynchronous behavior by using the then(success,fail) method. The success and fail are callback functions invoked appropriately when the promise is resolved or...

View Article


Image may be NSFW.
Clik here to view.

Use dojo’s promise.all in non-failure mode

The “all” function “Takes multiple promises and returns a new promise that is fulfilled when all promises have been resolved or one has been rejected.” This makes a lot of sense. If you are invoking...

View Article

Browsing latest articles
Browse All 2 View Live