Matt Pitts
1 min readSep 8, 2019

--

I couldn’t edit my comment, but want to clarify that async/await seems useful for a top level method that orchestrates a series of methods that return promises. However, I would not use it for the downstream methods that make various asynchronous calls. It seems easier to simply return promises and coordinate those promises using the async/await pattern.

--

--

Matt Pitts
Matt Pitts

Written by Matt Pitts

Ex Amazon Engineer and Founder of @AdonousTech. A technology company focused on #VoiceFirst #Serverless and #Cloud applications for small businesses

No responses yet