Service allowing registration of callbacks for CLI shutdown.
addShutdownListener(callback: () => Promise<void>): void
Register a callback method for CLI shutdown.
Service allowing registration of callbacks for CLI shutdown.
addShutdownListener(callback: () => Promise<void>): void
Register a callback method for CLI shutdown.
import type ShutdownService from ".";