ClusterDowningReason
Defined in: src/CoordinatedShutdown.ts:26
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 ClusterDowningReason():
ClusterDowningReason
Returns
Section titled “Returns”ClusterDowningReason
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”
readonlyname:"ClusterDowningReason"='ClusterDowningReason'
Defined in: src/CoordinatedShutdown.ts:27
Overrides
Section titled “Overrides”instance
Section titled “instance”
readonlystaticinstance:ClusterDowningReason
Defined in: src/CoordinatedShutdown.ts:28
Methods
Section titled “Methods”toString()
Section titled “toString()”toString():
string
Defined in: src/CoordinatedShutdown.ts:11
Returns
Section titled “Returns”string