SquidMesh.Runtime.DispatchProtocol.Entry (squid_mesh v0.1.0-alpha.7)

Copy Markdown View Source

One durable runtime journal entry.

Entries are intentionally shaped as append-only facts. Checkpoints and live wakeups are derived from replaying entries; they are not the source of truth.

Summary

Types

t()

@type t() :: %SquidMesh.Runtime.DispatchProtocol.Entry{
  data: map(),
  occurred_at: DateTime.t(),
  thread: thread(),
  type: atom()
}

thread()

@type thread() ::
  {:run, String.t()} | {:dispatch, String.t()} | {:run_index, String.t()}