This is a code repository for the corresponding article on Medium. In this tutorial, we will build educational application that is going to improve your overall knowledge of Async/Await.
I like your article and video. They cleared up a lot of confusion around aysnc/await and promises.
The video code is different then the code here. In particular the getExchangeRate function here doesn't have the isNaN throw error block. Instead it has a try/catch block.
It would be helpful to see how you would integrate the two error catching methods in that one function.
If getExchangeRate executes during X ms and getCountries executes during Y ms, how long time convertCurrency will take? (X+Y) or (max(X,Y)) ?
If first, Is it possible to reach second one?