[][src]Module godwit::statehandler

Godwit State Handler

A core state management utility for context switching and global singletons.

Structs

State

Defines a singular project and its corresponding state.

StateGraph

Defines combination of multiple states and represents the snapshot of the application.

Enums

Status

Functions

add_state

Adds a new state in state-graph.

load_stategraph

Returns a state-graph instance from the state-graph file.

purge_state

Removes the state from state-graph

set_active

Sets the active state in state-graph and propagates it.

set_default

Sets the default state in state-graph and propagates it.