Skip to main content

Module lifecycle_reason

Module lifecycle_reason 

Source
Expand description

Structured lifecycle reason helpers.

Transport libraries still surface close reasons as debug strings in several places, but runtime policy should branch on reason codes rather than ad-hoc substring checks scattered through the codebase.

Enums§

LifecycleReasonCode

Functions§

is_graceful
is_manual_disconnect
is_replacement_churn
is_terminal
is_transient