Skip to content

UnknownReason

Defined in: src/CoordinatedShutdown.ts:14

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 UnknownReason(): UnknownReason

UnknownReason

Reason.constructor

readonly name: "UnknownReason" = 'UnknownReason'

Defined in: src/CoordinatedShutdown.ts:15

Reason.name


readonly static instance: UnknownReason

Defined in: src/CoordinatedShutdown.ts:16

toString(): string

Defined in: src/CoordinatedShutdown.ts:11

string

Reason.toString