Skip to content

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

new ClusterLeavingReason(): ClusterLeavingReason

ClusterLeavingReason

Reason.constructor

readonly name: "ClusterLeavingReason" = 'ClusterLeavingReason'

Defined in: src/CoordinatedShutdown.ts:23

Reason.name


readonly static instance: ClusterLeavingReason

Defined in: src/CoordinatedShutdown.ts:24

toString(): string

Defined in: src/CoordinatedShutdown.ts:11

string

Reason.toString