execute

open override fun execute(command: Runnable)

Executes the given command in an HandlerThread that is guranteed to have a Looper running actively. In case the calling thread is already the HandlerThread that this instance manages, then command is directly executed without going through a thread switch.