pulumi/pkg/compiler/ast
Luke Hoban 829b977bcf Support try/catch in Lumi and async/await in Node.js
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.
2017-07-07 12:47:27 -07:00
..
definitions.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
expressions.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
nodes.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
source.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
stable.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
statements.go Support try/catch in Lumi and async/await in Node.js 2017-07-07 12:47:27 -07:00
walk.go Support try/catch in Lumi and async/await in Node.js 2017-07-07 12:47:27 -07:00