SchedulingContext

Context for registering a task on a Scheduling.

Functions

Link copied to clipboard
abstract fun runLater(delay: Long = 1, block: () -> Unit)

Runs a task at a later point in time once.

Link copied to clipboard
abstract fun runRepeating(period: Long = 1, delay: Long = 1, block: (TaskContext) -> Unit)

Runs a task indefinitely at later points in time until the task is cancelled.