ClusterLeavingReason
Defined in: src/CoordinatedShutdown.ts:22
Structured reason passed to every shutdown task so that they can behave differently depending on who triggered the shutdown (SIGTERM vs. cluster leave vs. hot-reload vs. …).
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ClusterLeavingReason():
ClusterLeavingReason
Returns
Section titled “Returns”ClusterLeavingReason
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”
readonlyname:"ClusterLeavingReason"='ClusterLeavingReason'
Defined in: src/CoordinatedShutdown.ts:23
Overrides
Section titled “Overrides”instance
Section titled “instance”
readonlystaticinstance:ClusterLeavingReason
Defined in: src/CoordinatedShutdown.ts:24
Methods
Section titled “Methods”toString()
Section titled “toString()”toString():
string
Defined in: src/CoordinatedShutdown.ts:11
Returns
Section titled “Returns”string