Difference between revisions of "Promise object (JavaScript)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
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 08: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

External links

YouTube videos