EventSource enum

Selects which underlying source(s) an AtCollection consumes its CItemUpdated / CItemDeleted / CSubItemUpdated / CSubItemDeleted events from.

  • data subscribes to AtClient.dataEvents. Sees ALL local keystore mutations — including locally-driven writes (which never generate notifications) and TTL expiry deletions. Recommended when a real SyncService is running and the app wants tight write→event semantics.
  • notifs subscribes to NotificationService. Only cross-atSign writes received from the atServer's notification pipeline produce events; locally-driven writes are NOT visible on the watch streams.
  • both subscribes to BOTH and emits events from each as they arrive — no de-duplication. The same logical change on the notification path (peer write delivered to this atSign) and the data-event path (sync applies that write to the local keystore) surfaces twice.

Sub-collections built via AtCollection.subCollection / AtCollection.readReceiptsFor inherit the parent's choice.

Inheritance
Available extensions

Values

data → const EventSource
notifs → const EventSource
both → const EventSource

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<EventSource>
A constant List of the values in this enum, in order of their declaration.