Skip to content
examples for handling callback hell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
count_lines
limited_parallel
parallel
series
.gitignore
LICENSE
README.md
package.json

README.md

callback_hell

Examples for callback hell

Modules

Examples

Series

parallel

Limitedly parallel

count_lines

count all js files' total line in giving folder.

$ node count_lines/async.js .
/Users/deadhorse/git/callback_hell/parallel/async.js has 36 lines
/Users/deadhorse/git/callback_hell/parallel/callback.js has 33 lines
/Users/deadhorse/git/callback_hell/parallel/eventproxy.js has 30 lines
/Users/deadhorse/git/callback_hell/parallel/generator.js has 21 lines
/Users/deadhorse/git/callback_hell/parallel/proxy.js has 19 lines
/Users/deadhorse/git/callback_hell/parallel/q.js has 31 lines
/Users/deadhorse/git/callback_hell/parallel/step.js has 34 lines
/Users/deadhorse/git/callback_hell/count_lines/async.js has 54 lines
/Users/deadhorse/git/callback_hell/count_lines/callback.js has 39 lines
/Users/deadhorse/git/callback_hell/count_lines/eventproxy.js has 52 lines
/Users/deadhorse/git/callback_hell/count_lines/generator.js has 34 lines
/Users/deadhorse/git/callback_hell/count_lines/q.js has 55 lines
/Users/deadhorse/git/callback_hell/count_lines/step.js has 72 lines
/Users/deadhorse/git/callback_hell/count_lines/utils.js has 15 lines
/Users/deadhorse/git/callback_hell/series/async.js has 19 lines
/Users/deadhorse/git/callback_hell/series/callback.js has 24 lines
/Users/deadhorse/git/callback_hell/series/eventproxy.js has 23 lines
/Users/deadhorse/git/callback_hell/series/generator.js has 22 lines
/Users/deadhorse/git/callback_hell/series/proxy.js has 22 lines
/Users/deadhorse/git/callback_hell/series/q.js has 15 lines
/Users/deadhorse/git/callback_hell/series/step.js has 27 lines

Resource

More

pull request are welcome! help me to show more examples and more solutions!

License

MIT

You can’t perform that action at this time.