net.corda.node.utilities / AffinityExecutor / Gate / isOnThread

isOnThread

val isOnThread: Boolean
Overrides AffinityExecutor.isOnThread

Returns true if the current thread is equal to the thread this executor is backed by.

Getter

Returns true if the current thread is equal to the thread this executor is backed by.