SequentialStrategy class

Processes pending operations one by one. This is safer and less resource-intensive.

Implemented types

Constructors

SequentialStrategy()
Creates a strategy that processes operations sequentially.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

execute<T extends DatumEntityInterface>(List<DatumSyncOperation<T>> operations, Future<void> processOperation(DatumSyncOperation<T> operation), bool isCancelled(), void onProgress(int completed, int total), {DatumLogger? logger}) Future<void>
A strategy that runs the sync process in a background isolate to avoid blocking the UI thread.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited