Skip to main content

Module shutdown

Module shutdown 

Source
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§

ShutdownCoordinator
Coordinates graceful shutdown across the system.

Type Aliases§

ShutdownHook
A callback that runs during shutdown. The boxed future must be Send.