Interface class for supporting tasker
tasks in dataparty. To add a task to dataparty service extend this class and implement the Name
, Description
and Config
members.
- Source
Extends
- tasker.Task
Members
(static) Config :module:Service.ITask.TaskConfig
- Source
(static) Description :string
Type:
- string
- Source
(static) info :module:Service.ITask.TaskInfo
Returns the task's Name
, Description
, and Config
- Source
(static) Name :string
Type:
- string
- Source
Type Definitions
TaskConfig
Type:
Properties- Object
Name | Type | Description |
---|---|---|
background | boolean | Set to true if this is a background task |
autostart | boolean | Set to true if this task should be run at service start time |
- Source
TaskInfo
Type:
Properties- Object
Name | Type | Description |
---|---|---|
Name | string | |
Description | string | |
Config | module:Service. |
- Source