pulumi/pkg/eval
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
..
rt Add cancellation to interpreter 2017-06-27 11:31:17 -07:00
eval.go Support try/catch in Lumi and async/await in Node.js 2017-07-07 12:47:27 -07:00
exceptions.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
hooks.go Add cancellation to interpreter 2017-06-27 11:31:17 -07:00
intrinsics.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
intrinsics_impl.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
intrinsics_impl_test.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
scope.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00