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

isOnThread

open 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.