Unit of both scheduling and inter-LP messaging (spec §4.1).
An anti-message is byte-identical to its positive twin except sign: :neg.
seq is load-bearing (§8): it provides a deterministic total order over
simultaneous-timestamp events and is the identity key that matches an
anti-message to its positive twin.
Summary
Functions
The anti-message (negative twin) of a positive event.
Total-ordering key {timestamp, seq}. Erlang term order over this tuple is
the canonical processing order; ties in timestamp break on seq.
Types
@type color() :: :white | :red
@type lp_id() :: term()
@type seq() :: {origin :: lp_id(), counter :: non_neg_integer()}
@type vtime() :: non_neg_integer()