query/queue/zen_mutation_queue library

Classes

ZenMutationQueue
Manages the offline mutation queue.

Typedefs

ZenMutationDeadLetterCallback = void Function(ZenMutationJob job, Object error)
Callback invoked when a queued mutation exceeds maxRetries or fails with a non-retryable error and is moved to the dead-letter queue.
ZenMutationHandler = Future Function(Map<String, dynamic> payload)
Handler function for replaying mutations
ZenMutationRetryPredicate = bool Function(Object error)
Predicate determining whether a replay error is transient/retryable.