OptimisticUpdatePolicy

Interface defining a policy for handling errors in optimistic updates.

This policy determines whether to reset all pending optimistic updates when an error occurs.

Inheritors

Types

Link copied to clipboard

Default implementation of OptimisticUpdatePolicy that resets all updates on any error.

Functions

Link copied to clipboard
abstract fun shouldResetOnError(cause: Throwable): Boolean

Determines whether all optimistic updates should be reset when an error occurs.