Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

callback hell in server side #3

Open
alireza-saberi opened this issue Mar 14, 2017 · 3 comments
Open

callback hell in server side #3

alireza-saberi opened this issue Mar 14, 2017 · 3 comments
Assignees

Comments

@alireza-saberi
Copy link
Collaborator

Expected behavior

Clean the codes from callback hell.
I am studying the solution.

Actual behavior

There are some nested callbacks in server-side codes. According to my study, it is called callback hell. I have to resolve it

Steps to reproduce

N/A

Version of the project

1.0

Operating system

All

Hardware

All

@alireza-saberi
Copy link
Collaborator Author

This article seems to be useful.
http://stackabuse.com/avoiding-callback-hell-in-node-js/

@alireza-saberi
Copy link
Collaborator Author

A few Promise libraries you should check out are Q, Bluebird, or the built-in Promises if you're using ES6.
I got a comment from a senior engineer to use Bluebird to resolve this issue.
https://github.com/petkaantonov/bluebird

@alireza-saberi
Copy link
Collaborator Author

alireza-saberi added a commit that referenced this issue Mar 17, 2017
centering footer is done. It appeared in middle of one of interview demos

[ticket : #3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant