Defines a task queue item
Unique id of the task queue item
Priority order in the tasks queue array
Callback to execute
Optional
Whether to execute the task only once and them automatically remove it from the tasks queue array
Defines a task queue item