corda / net.corda.core.messaging / CordaRPCOps / terminate

terminate

abstract fun terminate(drainPendingFlows: Boolean = false): Unit

Shuts the node down. Returns immediately.

Parameters

drainPendingFlows - whether the node will wait for pending flows to be completed before exiting. While draining, new flows from RPC will be rejected.