Skip to main content

Module ApplicationState

Module ApplicationState 

Source
Expand description

Centralized, thread-safe application state managed by Tauri.

§ApplicationState

Thread-safe state machine shared across all Mountain subsystems. Organized into three tiers: DTOs (serializable data transfer objects), Internal services (persistence, recovery, scanning), and State (extension, feature, UI, and workspace state).

§Structure

The state is wrapped in Arc and mutated via poisoned-lock guard patterns. Every subsystem operates through the same ApplicationState instance, ensuring consistency.

Modules§

DTO
Serializable data transfer objects used for state persistence.
Internal
Internal services: extension scanning, path resolution, persistence, recovery, serialization, and text processing.
State
State