remove All And Terminate
fun removeAllAndTerminate(waitStats: Boolean = false, afterTermination: (entity: ProcessModel.Entity) -> Unit? = null)(source)
Removes and terminates every task waiting in the queue.
Parameters
wait Stats
if true the waiting time statistics are collected. The default is false.
after Termination
invoked once each process has been terminated