SyncRequestSource enum

Identifies the origin of a SyncRequest. Every sync request is idempotent — "what to push" is owned by LocalSecondary's AtSyncQueue, so requests are just "please drain" triggers: a round answers every request queued when it reads the atServer.

app is a sync() call — the app's, the warm start's, or the periodic safety net's — and the round it starts fetches the atServer's commit id. system is a stats notification from the atServer, whose commit id the round reads from the cache the notification promoted.

Inheritance
Available extensions

Values

app → const SyncRequestSource
system → const SyncRequestSource

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

values → const List<SyncRequestSource>
A constant List of the values in this enum, in order of their declaration.