lab-brussels-1 / home

Home repository for Lab Brussels 1.
https://lab-brussels-1.github.io/home
MIT License
4 stars 5 forks source link

Haneefa: Asynchronous Programming , 3 weeks #390

Open Haneefa-Shaik opened 1 year ago

Haneefa-Shaik commented 1 year ago

Asynchronous Programming

Learning Objectives

Haneefa-Shaik commented 1 year ago

Week 1

I Need Help With:

What went well?

What went less well?

Sunday Prep Work

danielhalasz commented 1 year ago
  • For me, callback is simpler in understanding than promise.

try reading this explanation about it: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises In a real world scenario, you can use setTimeout to execute something after a certain amount of time. By using promises, you can determine what should run after an operation is completed or has failed by executing callbacks (.then and .catch). Usually you would add many .then callbacks, chaining them together.

danielhalasz commented 1 year ago
  • As I said before, the promise topic is confusing.

yes it is and therefore we will cover it on Sunday as well

Haneefa-Shaik commented 1 year ago

Week 2

I Need Help With:

What went well?

What went less well?

Sunday Prep Work