onSubsystem

open fun onSubsystem(subsystem: BunyipsSubsystem, override: Boolean = false): Task

Set the subsystem you want to elect this task to run on, notifying the runner that this task should run there.

Return

this task

Parameters

subsystem

The subsystem to elect as the runner of this task

override

Whether this task should override conflicting tasks on this subsystem (not incl. default tasks)