checkThread

open fun checkThread(@NonNull origin: String)

Validates if execution is running on the main thread.

Parameters

origin

the origin of the execution