Squidie.Runtime.Journal.Storage (squidie v0.1.2)

Copy Markdown View Source

Normalized storage boundary for journal-backed runtime state.

Squidie's journal runtime uses Jido storage adapters today, but runtime modules should depend on one Squidie-owned boundary. This struct carries a validated adapter and options while preserving the public storage config shape accepted by runtime: :journal.

Summary

Types

config()

@type config() :: module() | {module(), keyword()}

t()

@type t() :: %Squidie.Runtime.Journal.Storage{
  adapter: module(),
  config: config(),
  opts: keyword()
}