From Async Library to Async/Await

The next stop on our async/await refactoring journey is checkEventReflection(). It’s a complicated little function that’s heavily nested and also uses the async.each() library function. How can we refactor this to use async/await... and, more importantly, how can we do it incrementally and safely? It’s not easy, but we get it done.

comments powered by Disqus