Skip to main content

Module shutdown

Module shutdown 

Source
Expand description

Graceful shutdown coordination for Kinetic components.

Uses a token-based approach where sources and long-running tasks hold a shutdown token. When the coordinator initiates shutdown, tokens are cancelled and components have a graceful period to drain before forced termination.

Structs§

ShutdownCoordinator
Coordinates the shutdown of multiple components.
ShutdownSignal
A handle held by a component that can be used to listen for shutdown requests.

Enums§

ShutdownReason
The type of shutdown signal received.