We would like to allow developers to use async/await on the inside (Node.js) of Lumi programs. We now support (don't error on) usage of async/await inside runtime callbacks in Lumi programs. If await is used during deployment, it will trigger an error. Also adds support for try/catch in LumiJS, as these are used more heavily in async/await code. Since we target Node.js environments without native support for async/await, we also emit runtime helpers to support TS transpilation of async/await for Node.js pre-7.6. |
||
---|---|---|
.. | ||
lib | ||
lib.es5 | ||
lib.es6 | ||
runtime | ||
.gitignore | ||
index.ts | ||
Lumi.yaml | ||
Makefile | ||
package.json | ||
README.md | ||
tsconfig.json | ||
tslint.json | ||
yarn.lock |
lib/lumijs
This package contains the supported ECMAScript library types and functions authored in LumiIL.
All references standard ECMAScript library members will be rewritten as references to members of this package.