Serializable semantic snapshot for hibernate/resume.
Summary
Functions
Restores a snapshot produced by serialize/1.
Serializes a snapshot into an opaque durable string.
Types
Functions
Restores a snapshot produced by serialize/1.
@spec from_turn_state(Jidoka.Turn.State.t(), Jidoka.Turn.Cursor.t(), keyword()) :: {:ok, t()} | {:error, term()}
@spec from_turn_state!(Jidoka.Turn.State.t(), Jidoka.Turn.Cursor.t(), keyword()) :: t()
@spec schema() :: Zoi.schema()
@spec schema_version() :: pos_integer()
Serializes a snapshot into an opaque durable string.
The format is intentionally internal to Jidoka. It preserves Elixir data fidelity across hibernate/resume while the schema version remains the public compatibility boundary.