Scheduler-authored queue position metadata for an operation.
Summary
Functions
Builds queue metadata when the position is within the positive wire-safe queue total.
Builds valid queue metadata or raises for an impossible range.
Types
@type error() :: :invalid_queue_range
@type t() :: %MingaEditor.State.OperationQueue{ position: pos_integer(), total: pos_integer() }