Raxol.Terminal.Sync.Manager (Raxol v0.5.0)
View SourceManages synchronization between different terminal components (splits, windows, tabs). Provides a high-level interface for component synchronization and state management.
Summary
Functions
Returns a specification to start this module under a supervisor.
Starts the sync manager.
Syncs a component's state.
Types
@type component_id() :: String.t()
@type component_type() :: :split | :window | :tab
@type sync_state() :: %{ component_id: component_id(), component_type: component_type(), state: term(), metadata: %{ version: non_neg_integer(), timestamp: non_neg_integer(), source: String.t() } }
@type t() :: %Raxol.Terminal.Sync.Manager{ components: %{required(String.t()) => Raxol.Terminal.Sync.Component.t()}, sync_id: String.t() }
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec start_link(keyword()) :: GenServer.on_start()
Starts the sync manager.
Syncs a component's state.