Process Terminated Exception
class ProcessTerminatedException(val afterTermination: (entity: ProcessModel.Entity) -> Unit? = null, m: String = "Process Terminated!") : RuntimeException
Used to exit (terminate) a currently executing ProcessCoroutine.
Parameters
after Termination
a function to invoke after the process is successfully terminated
Constructors
Link copied to clipboard
constructor(afterTermination: (entity: ProcessModel.Entity) -> Unit? = null, m: String = "Process Terminated!")