execute

fun execute()

Scheduling method that will either attach this task to a subsystem or run it as part of the standard run method. This is the recommended way to run a task as it will attempt to run on the context as provided by the dependency.

A call to execute will attempt to schedule the task on every iteration of the execute call. As such, if it is rejected, re-scheduling will be attempted as the state of the subsystem may change and allow this task to become scheduled. An already scheduled task on a subsystem will no-op this call. A task with no dependency makes this method the equivalent of run.

Since

7.0.0