Difference between revisions of "Promise object (JavaScript)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) |
||
Line 1: | Line 1: | ||
In [[JavaScript]], the '''promise object''' is a used to handle asynchronous tasks. | In [[JavaScript]], the '''promise object''' is a used to handle asynchronous tasks. | ||
− | A promise is composable, making it more complex than a callback function. | + | A promise is [[Composability|composable]], making it more complex than a [[Callback (computer programming)|callback function]]. |
== See also == | == See also == | ||
* [[Bluebird (JavaScript library)]] | * [[Bluebird (JavaScript library)]] | ||
+ | * [[Callback (computer programming)]] | ||
* [[Futures and promises]] | * [[Futures and promises]] | ||
* [[jQuery promise method]] | * [[jQuery promise method]] | ||
Line 38: | Line 39: | ||
* [https://tc39.github.io/ecma262/#sec-promise-objects Promise Objects] - ECMAScript 2017 Language Specification | * [https://tc39.github.io/ecma262/#sec-promise-objects Promise Objects] - ECMAScript 2017 Language Specification | ||
* [http://www.codemag.com/article/1401061 The Simplest Thing Possible: Promises in JavaScript] by John V. Petersen | * [http://www.codemag.com/article/1401061 The Simplest Thing Possible: Promises in JavaScript] by John V. Petersen | ||
+ | * [http://www.benmvp.com/learning-es6-promises/ Learning ES6: Promises] by Ben Ilegbodu | ||
+ | * [ | ||
=== YouTube videos === | === YouTube videos === |
Revision as of 07:38, 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
- [
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