Skip to main content

Module Lifecycle

Module Lifecycle 

Source
Expand description

Lifecycle handlers: phase get / wait / shutdown. Tracks Mountain’s four-phase startup (Starting / Ready / Restored / Eventually) so Sky can gate UI installation on lifecycle progress.

LifecycleWhenPhase currently polls at 100 ms intervals up to 5 s; TODO to replace with a tokio::sync::Notify when the lifecycle service grows real broadcast semantics.

Functions§

LifecycleGetPhase
LifecycleRequestShutdown
LifecycleWhenPhase