https://github.com/dcoxall/promised-land
An introduction to refactoring with Promises
https://github.com/dcoxall/promised-land
Last synced: 8 months ago
JSON representation
An introduction to refactoring with Promises
- Host: GitHub
- URL: https://github.com/dcoxall/promised-land
- Owner: dcoxall
- License: mit
- Created: 2016-02-22T12:40:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-22T13:18:06.000Z (over 10 years ago)
- Last Synced: 2025-03-04T17:38:28.973Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Promised Land
This repo was designed the introduce people to the use of Promises in JavaScript and to help
people avoid the common pitfalls with asynchronous code especially within node.
### How to use
The commit history of this repo demonstrates a few steps to understanding and implementing
promises. The first commit includes an example test suite that has only one failing tests,
the failure however is due to a misunderstood understanding of JavaScript and nodes callbacks.
For each step:
npm install
npm test