after

fun after(vararg otherTasks: Task): SequentialTaskGroup

Compose this task into a SequentialTaskGroup with the supplied tasks to run before this one.


infix fun after(otherTask: Task): SequentialTaskGroup

Compose this task into a SequentialTaskGroup with the supplied task to run before this one.


infix fun after(waitTime: Measure<Time>): SequentialTaskGroup
fun after(waitDuration: Double, unit: Time): SequentialTaskGroup

Composes a WaitTask to run before this task.


infix fun after(runnable: Runnable): SequentialTaskGroup

Implicitly run a SequentialTaskGroup with this supplied Runnable, queued to run before this task starts.