Comparing Callbacks, Promises and Async Await in TypeScript

added by DotNetKicks
2/24/2020 12:52:27 PM

361 Views

How do callbacks, promises and async/await compare to each other? This article shows the same scenario using each of these three techniques so you can see the differences and choose which appeals most to you. The code uses TypeScript, but can easily be adapted to JavaScript.


0 comments