Concord.StateMachine.Core.Context (Concord v3.0.2)

Copy Markdown View Source

Deterministic metadata supplied by a replication adapter.

timestamp_ms is captured once before an operation is replicated. Replays must use the same value.

Summary

Types

t()

@type t() :: %Concord.StateMachine.Core.Context{
  op_number: non_neg_integer(),
  timestamp_ms: non_neg_integer()
}

Functions

new!(attributes)

@spec new!(keyword() | map()) :: t()