addPeriodic

infix fun addPeriodic(periodic: Consumer<Task>): DynamicTask
fun addPeriodic(periodic: Runnable, ktCompatUnusedIgnore: Any? = null): DynamicTask

Adds additional periodic code to run after the current periodic code.