Arcana::StateBackend
Abstract pluggable persistence for the bus snapshot blob.
Decouples how state is stored (filesystem today; Postgres or S3
tomorrow) from what gets stored (the JSON snapshot built by
Arcana::Snapshot). Implementations must be safe for concurrent
save calls: a partial write must never be observable by load.
The backend handles bytes-on-the-wire only. Serialization / deserialization stays in Snapshot.
Instance methods
close
Release any resources (file handles, DB connections). The default is a no-op for backends that hold nothing open.