MutationQueue
Parameters
executes the underlying HTTP calls.
owns every mutation's execution + retry backoff; mutations outlive the caller's own scope (e.g. a ViewModel's) as long as this scope is alive.
where enqueued mutations (that were given a MutationCodec) are persisted.
applied to mutations enqueued without an explicit retryPolicy. Defaults to retrying non-idempotent methods too — the whole point of this queue is to make POST/PATCH mutations retryable — unlike DefaultRetryPolicy's own conservative default.
maximum number of status flows to retain per queue instance. When exceeded, the least-recently-accessed entries are evicted. Must be positive. Defaults to 64.
MutationCodecs to register upfront, so restore can decode their records even before any matching enqueue call runs in this process. Enqueueing with a new codec also registers it.