simpl.info Promises

Explanation

The Promise object is used for deferred and asynchronous computations. A Promise is in one of the three states:

  1. pending: initial state, not fulfilled or rejected.
  2. fulfilled: successful operation
  3. rejected: failed operation.
  4. settled: fulfilled or rejected

News

View source on github

// JS fun