SyncClientImplementation enum
The PowerSync SDK offers two different implementations for receiving sync lines: One handling most logic in Dart, and a newer one offloading that work to the native PowerSync extension.
Values
- dart → const SyncClientImplementation
-
A sync implementation that decodes and handles sync lines in Dart.
- rust → const SyncClientImplementation
-
An experimental sync implementation that parses and handles sync lines in the native PowerSync core extensions.
This implementation can be more performant than the Dart implementation, and supports receiving sync lines in a more efficient format.
Note that this option is currently experimental.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Constants
- defaultClient → const SyncClientImplementation
- The default sync client implementation to use.
-
values
→ const List<
SyncClientImplementation> - A constant List of the values in this enum, in order of their declaration.