Service. ITask

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.

Extends

  • tasker.Task

Members

(static) Config :module:Service.ITask.TaskConfig

(static) Description :string

Type:
  • string

(static) info :module:Service.ITask.TaskInfo

Returns the task's Name, Description, and Config

(static) Name :string

Type:
  • string

Type Definitions

TaskConfig

Type:
  • Object
Properties
NameTypeDescription
backgroundboolean

Set to true if this is a background task

autostartboolean

Set to true if this task should be run at service start time

TaskInfo

Type:
  • Object
Properties
NameTypeDescription
Namestring
Descriptionstring
Configmodule:Service.ITask.TaskConfig