pulumi/sdk/nodejs/tests
joeduffy a1ab56fc28 Prettify properties
This change makes a few simplifications to how properties are exposed in
the system, mostly in the name of usability, but also to feel a bit more
like "idiomatic JavaScript".  Namely:

* Rename `then` to `mapValue`.  This hopefully helps to suggest that this
  is meant for a dataflow style of programming.

* Move Property<T> into the runtime module, and remove PropertyState<T>,
  collapsing back down to a single type.  This also eliminates some of the
  messy internal runtime casting, accessing of internal members, etc.

* Export a Computed<T> interface from the root of the module.  This is
  the entirety of the public-facing surface area for properties, and
  exposes that single `mapValue` member function.  The internal runtime
  logic understands how to handle Property<T>s specifically in addition
  to Computed<T>s more generally (in case someone writes their own).
2017-09-05 10:55:09 -07:00
..
runtime Prettify properties 2017-09-05 10:55:09 -07:00
config.spec.ts Take an initial stab at closure serialization 2017-09-04 11:35:21 -07:00
init.spec.ts Take an initial stab at closure serialization 2017-09-04 11:35:21 -07:00
util.ts Implement initial Lumi-as-a-library 2017-09-04 11:35:20 -07:00