Async Await in Node JS or ES6 with Loops & Github API

preview_player
Показать описание
Today we look at how to use Async Await in proper fashion with loops. Looping with promises can be tough, but there are a few techniques that really help out.

We also use the public github API to play with some of the requests. This video is using NodeJS version 8, but this should work with version 7 too. Or any babel transpiled code as well.
Рекомендации по теме
Комментарии
Автор

Simple, clear to the point with bad examples to go along with the good. Thank you for putting this together!

Spartacus
Автор

Very nice video dude, thank you very much for this simple, precise and precious content

rafaelvargas
Автор

You just saved a life 😍Thank you soo much🙌🏼

jinsoncjohny
Автор

you are so great!!!! :) subscribed and liked it

freddymercury
Автор

Great 🙌🏼🙌🏼🙌🏼Now I know the value of promises😹

niteshbandaru
Автор

How can I paginate over multiple API pages and return what I'm searching for? I've trying with a do while, but it just keep crashing 😐

abellara
Автор

Even if there is 12000 elements in an array for .. of loop will still excecute all before going to next line?

pranrv
Автор

With Promise.all you can even do something like that: =>{console.log(results); })

gagginaspinnata