Terminal frontend failure and one-shot adapted-retry evidence.
Summary
Functions
Records producer-local evidence bound to one rejected transaction and adapted intent.
Returns whether an intent is byte-for-byte the same semantic intent that failed terminally.
Clears terminal visibility and adaptation evidence after a material state change.
Returns empty rejection state.
Records a terminal failure while retaining the rejected semantic intent.
Types
@type adaptation() :: %{ generation: non_neg_integer(), frame_seq: non_neg_integer(), dimension: MingaEditor.Frontend.ResourcePolicy.dimension(), rejected_value: pos_integer(), adapted_value: pos_integer(), intent: MingaEditor.RenderPipeline.Intent.t() }
@type t() :: %MingaEditor.Renderer.RejectionState{ adaptation: adaptation() | nil, terminal: terminal() | nil }
@type terminal() :: %{ generation: non_neg_integer(), frame_seq: non_neg_integer(), last_good_frame_seq: non_neg_integer(), reason: atom(), intent: MingaEditor.RenderPipeline.Intent.t() }
Functions
@spec adapt( t(), non_neg_integer(), non_neg_integer(), MingaEditor.Frontend.ResourcePolicy.adaptation_descriptor(), MingaEditor.RenderPipeline.Intent.t() ) :: t()
Records producer-local evidence bound to one rejected transaction and adapted intent.
@spec blocks?(t(), MingaEditor.RenderPipeline.Intent.t()) :: boolean()
Returns whether an intent is byte-for-byte the same semantic intent that failed terminally.
Clears terminal visibility and adaptation evidence after a material state change.
@spec new() :: t()
Returns empty rejection state.
@spec terminal( t(), non_neg_integer(), non_neg_integer(), non_neg_integer(), atom(), MingaEditor.RenderPipeline.Intent.t() ) :: t()
Records a terminal failure while retaining the rejected semantic intent.