checkThread

open fun checkThread(@NonNull origin: String)(source)

Validates if execution is running on the main thread.

Parameters

origin

the origin of the execution