class CoordinatedShutdown extends CoordinatedLifecycle<ShutdownPhase>Member visibility
Filter class members by access level.
CoordinatedShutdown(deadlineMs?: number)Showing members with Protected visibility and higher.
protected readonly logger: LoggerInherited from:CoordinatedLifecycle
phaseEnum
Inherited from:CoordinatedLifecycle
phaseOrder
protected readonly phaseOrder: TPhase[]Inherited from:CoordinatedLifecycle
protected readonly tasksMap: Map<TPhase, LifecycleTask[]>Inherited from:CoordinatedLifecycle
protected abortRun(): voidInherited from:CoordinatedLifecycle
public override addTask(
phase: ShutdownPhase,
taskName: string,
task: LifecycleTask["task"],
timeoutMs?: number
): voidprotected beginRun(): voidInherited from:CoordinatedLifecycle
protected canAddTask(): booleanprotected canRemoveTask(): booleanprotected async executeTasksInPhase(
phase: ShutdownPhase,
tasks: LifecycleTask[]
): Promise<PromiseSettledResult<void>[]>protected getTaskType(): stringprotected isAborted(): booleanInherited from:CoordinatedLifecycle
Inherited from:CoordinatedLifecycle
Inherited from:CoordinatedLifecycle
protected async runTaskWithTimeout(
phase: TPhase,
task: LifecycleTask
): Promise<void>Inherited from:CoordinatedLifecycle