TaskType:base

From Lavish Software Wiki
Revision as of 01:01, 11 March 2019 by Lax (Talk | contribs)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, 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

Template:LavishScript:TaskType