OfflineSyncCancellation class
Cancellation for one sync session, bound only while its merge is active.
A signal can cover successive merges, but not overlapping transactions. Cancellation is permanent and does not interrupt an executing SQL statement.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCancelled → bool
-
Whether this session has received cancellation.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
) → void - Starts rollback; run joins it before the owning operation completes.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run<
R> (Transaction transaction, Future< R> action()) → Future<R> - Binds one transaction until its callback and any requested rollback settle.
-
throwIfCancelled(
) → void - Rejects work that has not yet entered a transaction.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited