TaskType:base
Jump to navigation
Jump to search
Task Properties
These properties are recognized for any Task. Additional properties may be required/interpreted by any given Task Type.
Base Task properties | |
---|---|
type | (required) The Task Type name |
name | (optional) A name to describe the Task |
duration | (optional) Either a floating point number (with decimal) of seconds, or an integer (no decimal) number of milliseconds to allow the Task to run before it is Stopped |
instant | (optional) A boolean (true or false) value indicating whether the Task should be immediately Stopped after it is Started |
Examples
- A Task instantiated with the required type property, and a value used by the Task Type
{ "type":"ls1.echo", "output":"Hello World!" }
See Also
LavishScript Task Types