Represents a task.

Hierarchy (View Summary)

Constructors

Properties

category: Category<string, Task>

The category this module belongs to.

categoryID: string

The ID of the category this module belongs to.

The client thant instantiated this module.

delay?: number

The time in milliseconds between each time the task is run.

filepath: string

The filepath of this module.

handler: TaskHandler

The handler for this module.

id: string

The ID of this module.

runOnStart: boolean

Whether or not to run the task on start.

Methods