runSyncRepeating

abstract fun runSyncRepeating(initialDelay: Duration, interval: Duration, task: Runnable): TaskHandle

Runs task repeatedly with the given interval in the platform's "sync" context.

Implementations should attempt to avoid drift, but exact semantics are platform-defined.