net.corda.node.utilities / AffinityExecutor / flush

flush

abstract fun flush(): Unit

Run the executor until there are no tasks pending and none executing.