The introduction of Promises and Generators in ECMAScript presents an opportunity to dramatically improve the language-level model for writing asynchronous code in ECMAScript. The spec text can be found here.
This proposal is implemented in a regenerator which can compile ES5 code containing async
and await
down to vanilla ES5 to run in existing browsers and runtimes.
This repo contains a complete example using a large number of the features of the proposal. To run this example:
npm install regenerator -r server.asyncawait.js | node
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4