Difference between revisions of "TaskType:base"
Jump to navigation
Jump to search
(Created page with " == Task Properties == These properties are recognized for any LavishScript:Task. Additional properties may be required/interpreted by any given LavishScript:Task Type|...") |
|||
Line 29: | Line 29: | ||
− | {{LavishScript: | + | {{LavishScript:TaskTypes}} |
+ | |||
+ | |||
[[Category:Tasks]] | [[Category:Tasks]] |
Latest revision as of 01:08, 11 March 2019
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