OfflineQueuePolicy constructor
const
OfflineQueuePolicy({
- Duration? maxMutationAge,
- int? maxQueueLength,
- OverflowStrategy overflow = OverflowStrategy.rejectNew,
- FutureOr<
ReplayDecision> onBeforeReplay(- PendingMutation mutation
- int? maxRetainedFailures = 20,
Implementation
const OfflineQueuePolicy({
this.maxMutationAge,
this.maxQueueLength,
this.overflow = OverflowStrategy.rejectNew,
this.onBeforeReplay,
this.maxRetainedFailures = 20,
});