Booting, Configured, Initializing, Starting, Ready, Stopping, Stopped. States only move forward and MAY be skipped.
GetState
UgLifecycleState
The current state, such as
'Ready'.IsReady
HasReached
false for states not reached yet and for skipped states.
On
UgLifecycleState
required
Raises for unknown states.
fun()
required
Runs when ug-core reaches
state.Await
UgLifecycleState
required
integer
Milliseconds. Waits forever when nil.
boolean
false on timeout or when the state was skipped.