SuspensionObserver

Because an entity that is executing a process cannot resume itself after suspending itself, we need a mechanism to allow the entity to register itself before suspending.

Allows entities to suspend themselves by providing a callback mechanism to allow the entity to register (attach) itself before suspending, with the assurance that the SuspensionObserver will (eventually) tell the entity to resume.

Properties

Link copied to clipboard
abstract val name: String

Functions

Link copied to clipboard
abstract fun attach(entity: ProcessModel.Entity)
Link copied to clipboard
abstract fun detach(entity: ProcessModel.Entity)