runSync

abstract fun runSync(task: Runnable): TaskHandle

Runs task as soon as possible in the platform's "sync" context.