ES proposal: async functions

added by JavaScript Kicks
2/1/2016 11:11:05 AM

627 Views

Async functions are an ECMAScript proposal by Brian Terlson. It is at stage 3 (candidate). Before I can explain async functions, I need to explain how Promises and generators can be combined to perform asynchronous operations via synchronous-looking code. For functions that compute their one-off results asynchronously, Promises, which are part of ES6, are becoming increasingly popular.


0 comments