Skip to content

Understanding Call-back Hell, Async and Promises in Node.js

License

Notifications You must be signed in to change notification settings

AnsarIbrahim/Node-Exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-Exercise: Understanding Callback Hell, Async and Promises in Node.js

This repository is dedicated to exercises that help understand the concepts of Callback Hell, Async functions, and Promises in Node.js.

Callback Hell

"Callback Hell" is a phenomenon that afflicts a JavaScript developer when he tries to execute multiple asynchronous operations one after the other.

Async Functions

Async functions are a combination of promises and generators to reduce the boilerplate around promises, and the "don't break the chain" limitation of chaining promises.

Promises

Promises are a pattern that helps with one particular kind of asynchronous programming: a function that returns a single result asynchronously.

Getting Started

To get started, clone the repository and install the dependencies.

git clone https://github.com/AnsarIbrahim/Node-Exercise.git
cd Node-Exercise
npm install

About

Understanding Call-back Hell, Async and Promises in Node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published