Difference between revisions of "Promise object (JavaScript)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) |
||
Line 58: | Line 58: | ||
* [https://jsfiddle.net/adamboduch/jkvkzhqk/ Native Promise versus jQuery Deferred] by Adam Boduch @ jsfiddle | * [https://jsfiddle.net/adamboduch/jkvkzhqk/ Native Promise versus jQuery Deferred] by Adam Boduch @ jsfiddle | ||
* [https://codesi.nz/working-with-javascript-promises/ Working With Javascript Promises: Practices And Mistakes] @ by Adrian Oprea | * [https://codesi.nz/working-with-javascript-promises/ Working With Javascript Promises: Practices And Mistakes] @ by Adrian Oprea | ||
+ | * [https://code.tutsplus.com/tutorials/promise-based-validation--net-31473 Promise-Based Validation] by Pavan Podila | ||
+ | * [https://spring.io/understanding/javascript-promises Understanding JavaScript Promises] @ spring.io | ||
+ | * [http://www.javascriptkit.com/javatutors/javascriptpromises.shtml Beginner's Guide to JavaScript promises] | ||
+ | * [http://blog.parse.com/learn/engineering/whats-so-great-about-javascript-promises/ What's so great about JavaScript Promises?] by Bryan Klimt | ||
+ | * [http://jamesknelson.com/grokking-es6-promises-the-four-functions-you-need-to-avoid-callback-hell/ Introduction to ES6 Promises – The Four Functions You Need To Avoid Callback Hell] by James K. Nelson | ||
+ | * [https://spin.atomicobject.com/2016/02/16/how-javascript-promises-work/ JavaScript Promises – How They Work] by Matt Behrens | ||
+ | * [https://spin.atomicobject.com/2016/02/17/javascript-promise-mistakes/ JavaScript Promises – How They Break] by Matt Behrens | ||
+ | * [http://odetocode.com/blogs/scott/archive/2015/10/01/javascript-promises-and-error-handling.aspx JavaScript Promises and Error Handling] by Scott Allen | ||
+ | * [https://medium.com/@bluepnume/learn-about-promises-before-you-start-using-async-await-eb148164a9c8#.6v8rgf4kj Understand promises before you start using async/await] @ Daniel Brain | ||
+ | * [http://www.javascripture.com/Promise Promise : Object] | ||
+ | * [http://thejavascriptpromise.com/ The JavaScript Promise] by Doguhan Uluca | ||
+ | * [https://www.peterbe.com/plog/chainable-catches-in-a-promise Chainable catches in a JavaScript promise] by Peterbe.com | ||
+ | * [http://javascript.tutorialhorizon.com/2015/08/07/promise-javascript-examples/ Promise javascript examples] by Kavit | ||
+ | * [https://medium.freecodecamp.com/let-there-be-promise-and-there-was-then-e2fd94a0b2f9#.w52qs6blw Make your life easier with JavaScript promises] | ||
+ | * [https://dzone.com/articles/making-promise-javascript Making a Promise with JavaScript] by Hemanth HM | ||
+ | * [http://blog.thepete.net/blog/2011/07/02/javascript-promises/ Javascript Promises] by Pete Hodgson | ||
+ | * [http://eddmann.com/posts/implementing-promise-all-and-promise-race-in-javascript/ Implementing Promise.all and Promise.race in JavaScript] by Edd Mann | ||
+ | * [https://www.ekreative.com/blog/we-promise-you-promises-javascript-promises-basics We promise you Promises: JavaScript Promises basics] @ eKreative | ||
+ | * [http://www.bennadel.com/blog/3112-aggregating-values-in-a-promise-based-workflow-in-javascript.htm Aggregating Values In A Promise-Based Workflow In JavaScript] by Ben Nadel | ||
+ | * [https://blog.jcoglan.com/2011/03/11/promises-are-the-monad-of-asynchronous-programming/ Promises are the monad of asynchronous programming] @ James Coglan | ||
+ | * [http://opensourceconnections.com/blog/2014/02/16/a-simple-promise-implementation-in-about-20-lines-of-javascript/ A Simple Promise Implementation in about 20 lines of Javascript] by Doug Turnbull | ||
+ | * [http://1bytebeta.com/javascript-promise-api-overview/ JavaScript Promise API overview] @ 1bytebeta.com | ||
+ | * [https://keyholesoftware.com/2014/07/23/javascript-promises-are-cool/ JavaScript Promises Are Cool] by Lou Mauget | ||
+ | * [http://martinfowler.com/bliki/JavascriptPromise.html JavascriptPromise] by Martin Fowler | ||
+ | * [http://blog.rangle.io/the-art-of-promise-based-architecture/ The Art of Promise-Based Architecture] by Yuri Takhteyev | ||
+ | * [http://blog.taylormcgann.com/2014/08/21/catch-errors-javascript-promise-chains/ Catch Errors in JavaScript Promise Chains] by Taylor McGann | ||
+ | * [https://qntm.org/files/promise/promise.html Learn JavaScript promises in about 70 minutes] by qntm | ||
+ | * [https://www.theguardian.com/info/developer-blog/2014/dec/10/taming-timeouts-with-a-promise Taming timeouts with a Promise] by Paul Roberts | ||
+ | * [http://www.slideshare.net/xmlilley/mastering-async-io-in-javascript-promises-async-190913 Promises, Promises: Mastering Async I/O in Javascript with the Promise Pattern] by Christian Lilley | ||
Line 68: | Line 97: | ||
* [https://www.youtube.com/watch?v=K6pihiILxrc Cleaning Up JavaScript Callbacks With Promises] | * [https://www.youtube.com/watch?v=K6pihiILxrc Cleaning Up JavaScript Callbacks With Promises] | ||
* [https://www.youtube.com/watch?v=g90irqWEqd8 Async JavaScript with Promises] by Kyle Robinson Young | * [https://www.youtube.com/watch?v=g90irqWEqd8 Async JavaScript with Promises] by Kyle Robinson Young | ||
+ | * [https://www.youtube.com/watch?v=yswb4SkDoj0 Asynchronous JavaScript #4 - Promises] by Net Ninja | ||
+ | * [https://www.youtube.com/watch?v=KeQYjpckudA Introduction to Promises in JavaScript] by Aidan Feldman | ||
[[Category: JavaScript]] | [[Category: JavaScript]] | ||
[[Category: JavaScript promises]] | [[Category: JavaScript promises]] |
Revision as of 08:39, 25 September 2016
In JavaScript, the promise object is a used to handle asynchronous tasks.
A promise is composable, making it more complex than a callback function.
See also
- Bluebird (JavaScript library)
- Callback (computer programming)
- Futures and promises
- jQuery promise method
External links
- Native JavaScript promises API by Serg Hospodarets
- Promises | Web fundamentals - Promises have arrived natively in JavaScript
- Promise @ developer.mozilla.org
- Promise.all() @ developer.mozilla.org
- JavaScript Promise API by David Walsh
- JavaScript Promises by Jake Archibald
- ES6 Promises by Dave Atchley
- Overview of JavaScript Promises by Sandeep Panda
- Promises for asynchronous programming @ exploringjs.com
- Embracing Promises in JavaScript
- Using Javascript native promises, resolve a promise after thenables attached @ Stack Overflow
- Native Support for Promises in Node.js @ Stack Overflow
- Best Practices for Using Promises in JS by Oleksii Rudenko
- JavaScript Promises ... In Wicked Detail by Matt Greer
- How to Chain JavaScript Promises – Intro Tutorial to JavaScript Promises by Pablo Farias Navarro
- Native Javascript Promises vs Bluebird by Nazar Aziz
- Pure JS Promise (Native) by Stenly Tan
- Testing JavaScript's native Promises by Paul Meskers
- Promise Object (JavaScript) @ MSDN
- Promises Object @ JavaScript Kit
- Can I Use Promises? @ caniuse.com
- Hey Let's Learn About JavaScript Promises by Kevin Buchanan
- JavaScript Promises 101 by Ire Aderinokun
- Native Browser Promises In Javascript by Tomasz Maćkowiak
- Understanding JavaScript Promises, Pt. I: Background & Basics by Peleke Sengstacke
- Promise Objects - ECMAScript 2017 Language Specification
- The Simplest Thing Possible: Promises in JavaScript by John V. Petersen
- Learning ES6: Promises by Ben Ilegbodu
- TracedPromise: Visualizing Async JS Code by Ben Cronin
- On The Difficult Problem Of Logging Errors In Parallel Promises In JavaScript by Ben Nadel
- Easy asynchrony with ES6
- Staying Sane With Asynchronous Programming: Promises and Generators by Colin Toh
- Are JavaScript Promises swallowing your errors? by James K. Nelson
- ES6 Promises in Depth
- Promises – an alternative way to approach asynchronous JavaScript by Kishore Nallan
- Javascript Promises by Samy Pessé
- Better Asynchronous JavaScript by Francois Ward
- Good Code: Promises in JavaScript by Cecelia Wren
- Patterns for Asynchronous Programming With Promises
- Keeping our Promises (and Callbacks) by Thomas Bouldin
- Replacing async utilities with native promises by Jelle Kralt
- A Solution To Swallowed Exceptions In ES6’s Promises
- 8 Tips For Mastering Javascript Promises by Scott Rippey
- The best resources to learn about JavaScript Promises
- Native Promise versus jQuery Deferred by Adam Boduch @ jsfiddle
- Working With Javascript Promises: Practices And Mistakes @ by Adrian Oprea
- Promise-Based Validation by Pavan Podila
- Understanding JavaScript Promises @ spring.io
- Beginner's Guide to JavaScript promises
- What's so great about JavaScript Promises? by Bryan Klimt
- Introduction to ES6 Promises – The Four Functions You Need To Avoid Callback Hell by James K. Nelson
- JavaScript Promises – How They Work by Matt Behrens
- JavaScript Promises – How They Break by Matt Behrens
- JavaScript Promises and Error Handling by Scott Allen
- Understand promises before you start using async/await @ Daniel Brain
- Promise : Object
- The JavaScript Promise by Doguhan Uluca
- Chainable catches in a JavaScript promise by Peterbe.com
- Promise javascript examples by Kavit
- Make your life easier with JavaScript promises
- Making a Promise with JavaScript by Hemanth HM
- Javascript Promises by Pete Hodgson
- Implementing Promise.all and Promise.race in JavaScript by Edd Mann
- We promise you Promises: JavaScript Promises basics @ eKreative
- Aggregating Values In A Promise-Based Workflow In JavaScript by Ben Nadel
- Promises are the monad of asynchronous programming @ James Coglan
- A Simple Promise Implementation in about 20 lines of Javascript by Doug Turnbull
- JavaScript Promise API overview @ 1bytebeta.com
- JavaScript Promises Are Cool by Lou Mauget
- JavascriptPromise by Martin Fowler
- The Art of Promise-Based Architecture by Yuri Takhteyev
- Catch Errors in JavaScript Promise Chains by Taylor McGann
- Learn JavaScript promises in about 70 minutes by qntm
- Taming timeouts with a Promise by Paul Roberts
- Promises, Promises: Mastering Async I/O in Javascript with the Promise Pattern by Christian Lilley
YouTube videos
- How to Use Javascript Promises by Jordan Leigh
- JavaScript promises explained tutorial by techsmith
- Promises - Part 8 of Functional Programming in JavaScript
- Promises in Javascript by David M. Lee, II
- Cleaning Up JavaScript Callbacks With Promises
- Async JavaScript with Promises by Kyle Robinson Young
- Asynchronous JavaScript #4 - Promises by Net Ninja
- Introduction to Promises in JavaScript by Aidan Feldman