runOnQueue

abstract fun runOnQueue(runnable: Runnable): Boolean

Runs the given Runnable on this Thread. It will be submitted to the end of the event queue even if it is being submitted from the same queue Thread.