Expand description
Graceful shutdown coordinator for the Punch kernel.
Tracks in-flight requests, broadcasts a shutdown signal, waits for requests to drain (with a configurable timeout), and fires registered shutdown hooks in order.
Structs§
- Shutdown
Coordinator - Coordinates graceful shutdown across the system.
Type Aliases§
- Shutdown
Hook - A callback that runs during shutdown. The boxed future must be
Send.