while True
Schedules task when the condition changes from false to true, and finishes the task when the same condition changes back to false.
Does not restart the task if it finishes by itself while the condition is still true. Use a RepeatTask for this behaviour.