Raxol.Terminal.Session.Serializer (Raxol v0.5.0)
View SourceHandles serialization and deserialization of terminal session state.
Summary
Functions
Deserializes a session state from a map.
Serializes a session state to a map that can be stored and later restored.
Functions
@spec deserialize(map()) :: {:ok, Raxol.Terminal.Session.t()} | {:error, term()}
Deserializes a session state from a map.
@spec serialize(Raxol.Terminal.Session.t()) :: map()
Serializes a session state to a map that can be stored and later restored.