service / com.scurab.android.uitor.tools / Executor / runInMainThreadBlockingOnlyIfCrashing

runInMainThreadBlockingOnlyIfCrashing

open static fun <T : Any!> runInMainThreadBlockingOnlyIfCrashing(op: Action<T>!): T

Run op in main thread with 2s timeout only if it's crashing... First try is started in current thread

Parameters

op - Action<T>!: