DelayedTask

inner class DelayedTask(delay: Ticks) : Runner

Represents a task that is set to run after a certain delay.

Constructors

Link copied to clipboard
constructor(delay: Ticks)

Functions

Link copied to clipboard

Schedules this task to repeat with the specified period.

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

Executes the task once after the delay.