- Notifications
You must be signed in to change notification settings - Fork4
strongloop-community/handling-callback-hell
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This example repo includes various approaches discussed in theaccompanying StrongLoop blog post on managing callback hell. It is required to run Node 0.11.x or higher for the generator examples.
All the dependencies are bundled in the project.
To run the test suite:
npmtestTo run individual examples, run each file directly:
node nested.js
- nested.js - a nested approach
- flat.js - a modular approach
- async.js - a async module approach
- promise - a promise approach
- generator - a generator approach
- q-generator - a promise/generator approach
Read the accompanying article for more details on the approaches. The Q Generator was an additional approach not mentioned in the article.
About
Another look at callback hell, Practical solutions to asynchronous control flow
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.