runSync

fun Scheduler.runSync(task: () -> Unit): TaskHandle

Kotlin convenience overloads for Scheduler.

These helpers exist so that the public contracts can remain Java-first (Runnable / java.time.Duration), while Kotlin call sites still feel natural.