Immutable encoded frame retained while frontend transport admission is unwritable.
Summary
Functions
Returns retained encoded bytes.
Returns whether this frame can follow an admitted predecessor without a missing base.
Builds retained frame metadata from one complete encoded transaction.
Types
@type t() :: %MingaEditor.Frontend.Manager.PendingFrame{ base_frame_seq: non_neg_integer(), batch: binary(), frame_seq: non_neg_integer(), generation: non_neg_integer() }
Functions
@spec byte_size(t()) :: non_neg_integer()
Returns retained encoded bytes.
Returns whether this frame can follow an admitted predecessor without a missing base.
@spec from_commands([binary()]) :: {:ok, t()} | {:error, MingaEditor.Frontend.FrameTransaction.validation_error()}
Builds retained frame metadata from one complete encoded transaction.