Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
Signed-off-by: matt-ramotar <[email protected]>
  • Loading branch information
matt-ramotar committed Nov 17, 2024
1 parent d0bfad6 commit c2b2402
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ internal class RealMutableStore<Key : Any, Network : Any, Output : Any, Local :
safeInitStore(request.key)

when (val eagerConflictResolutionResult = tryEagerlyResolveConflicts<Response>(request.key)) {

// TODO(matt-ramotar): Many use cases will not want to pull immediately after failing
// to push local changes. We should enable configuration of conflict resolution strategies,
// such as logging, retrying, canceling.

is EagerConflictResolutionResult.Error.Exception -> {
logger.error(eagerConflictResolutionResult.error.toString())
}
Expand Down

0 comments on commit c2b2402

Please sign in to comment.