RepeatingTask

inner class RepeatingTask(delay: Ticks, period: Ticks) : Runner

Represents a task that is set to run repeatedly.

Constructors

Link copied to clipboard
constructor(delay: Ticks, period: Ticks)

Functions

Link copied to clipboard
open infix override fun run(task: () -> Unit): TaskHandle

Executes the task repeatedly according to the delay and period.