on

infix fun on(subsystem: BunyipsSubsystem): Task

Set the subsystem you want to elect this task to run on, notifying the runner that this task should run there. This task is scheduled with default override behaviour.

Return

this task

Parameters

subsystem

The subsystem to elect as the runner of this task