Skip to main content

Module shutdown_handler

Module shutdown_handler 

Source

Functions§

install_shutdown_handlers
Installs SIGINT/SIGTERM handlers for graceful termination — REQ-2.3.4. Spawns its own task; callers don’t await this.
on_shutdown
Registers a cleanup callback, run in reverse registration order during shutdown.

Type Aliases§

CleanupFn