script v1.0.6

by Ward Van Durme

Script


The script sensor allows you to prototype a small piece of code that doesn't belong in a dedicated plug.

Example:
function example () { return { foo: 'bar' } }

The return value of this function has to be an object and will be used as rawData. # Required properties: - `script`

States:

  • done
  • error