Skip to content

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. …).

new ClusterDowningReason(): ClusterDowningReason

ClusterDowningReason

Reason.constructor

readonly name: "ClusterDowningReason" = 'ClusterDowningReason'

Defined in: src/CoordinatedShutdown.ts:27

Reason.name


readonly static instance: ClusterDowningReason

Defined in: src/CoordinatedShutdown.ts:28

toString(): string

Defined in: src/CoordinatedShutdown.ts:11

string

Reason.toString