ProcessTerminatedException

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

Used to exit (terminate) a currently executing ProcessCoroutine.

Parameters

afterTermination

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!")

Properties

Link copied to clipboard
val afterTermination: (entity: ProcessModel.Entity) -> Unit? = null
Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard