net.corda.node.services.messaging / NodeMessagingClient / stop

# stop

`fun stop(): Unit`
Overrides MessagingServiceInternal.stop

Initiates shutdown: if called from a thread that isnt controlled by the executor passed to the constructor then this will block until all in-flight messages have finished being handled and acknowledged. If called from a thread thats a part of the AffinityExecutor given to the constructor, it returns immediately and shutdown is asynchronous.