ProcessTerminatedException

constructor(afterTermination: (entity: ProcessModel.Entity) -> Unit? = null, m: String = "Process Terminated!")

Parameters

afterTermination

a function to invoke after the process is successfully terminated