Scheduler

interface Scheduler

Schedules tasks on the proxy runtime.

Functions

Link copied to clipboard
abstract fun runAsync(task: Runnable): TaskHandle
Link copied to clipboard
abstract fun runLater(delay: Duration, task: Runnable): TaskHandle
Link copied to clipboard
abstract fun runRepeating(interval: Duration, task: Runnable): TaskHandle
abstract fun runRepeating(delay: Duration, interval: Duration, task: Runnable): TaskHandle
Link copied to clipboard
abstract fun runSync(task: Runnable): TaskHandle