Skip to main content

Module lifecycle

Module lifecycle 

Source
Expand description

Process lifecycle signal handling.

Crossterm raw mode turns a typed Ctrl+C into a key event, but OS signals can still arrive from kill, terminal close, or a process manager. This module converts those signals into reducer messages so shutdown follows the same path as /quit.

Structsยง

RuntimeLifecycle
Small signal stream consumed by the app main loops.