Scheduled Task
A task that will run when a condition is met.
Functions
Run a task assigned to in run() in a certain amount of time of the condition remaining true. This will delay the activation of the task by the specified amount of time of the condition remaining true. If this method is called multiple times, the last time directive will be used.
Chain an AND condition to the current conditional task. Will be evaluated after the controller condition, and before the OR conditions.
Run the task assigned to in run() until this condition is met. Once this condition is met, the task will be forcefully stopped and the scheduler will move on. This is useful for continuous tasks. If this method is called multiple times, an OR condition will be composed with the last condition.
Run a task assigned to in run() in a certain amount of time of the condition remaining true. This will delay the activation of the task by the specified amount of time of the condition remaining true. If this method is called multiple times, the last time directive will be used.
Mute this task from being a part of the Scheduler report.
Chain an OR condition to the current conditional task. Will be evaluated after the controller and AND conditions.
Queue a task when the condition is met. This task will run (and self-reset if finished) for as long as the condition is met.
Implicitly make a new RunTask to run as the condition is met. This callback will requeue as many times as the trigger is met.
Queue a task when the condition is met, debouncing the task from queueing more than once the condition is met.
Implicitly make a new RunTask to run once the condition is met, debouncing the task from queueing more than once the condition is met.