Async/Await with Angular 2

TypeScript 2.1 was officially announced yesterday, and the biggest feature in this release is probably full support for async/await.

So what’s async/await? It’s a proposed JavaScript feature officially known as Async Functions, but in a nutshell it’s some syntactic sugar that makes working with asynchronous promises look like sequential code.

Continue reading

Advertisements