Scheduler
endstone.scheduler
¶
Classes:
Scheduler
¶
Represents a scheduler that executes various tasks
Methods:
Name | Description |
---|---|
cancel_task |
Removes task from scheduler. |
cancel_tasks |
Removes all tasks associated with a particular plugin from the scheduler. |
get_pending_tasks |
Returns a vector of all pending tasks. |
is_queued |
Check if the task queued to be run later. |
is_running |
Check if the task currently running. |
run_task |
Returns a task that will be executed synchronously |
cancel_tasks
¶
Removes all tasks associated with a particular plugin from the scheduler.