runOnThread

fun runOnThread(action: Runnable)

Runs the specified Runnable on this thread. If this thread is the current thread, this will be executed immediately.