Reason

trait Reason

Reason for the shutdown, which can be used by tasks in case they need to do different things depending on what caused the shutdown. There are some predefined reasons, but external libraries applications may also define other reasons.

Source:
CoordinatedShutdown.scala
class Object
trait Matchable
class Any