UpdateNotification class
Notification of an update to one or more tables, for the purpose of realtime change notifications.
Constructors
-
UpdateNotification(Set<
String> tables) -
const
- UpdateNotification.empty()
-
const
- UpdateNotification.single(String table)
Properties
Methods
-
containsAny(
Set< String> tableFilter) → bool - True if any of the supplied tables have been modified.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
union(
UpdateNotification other) → UpdateNotification
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
filterTablesTransformer(
Iterable< String> tables) → StreamTransformer<UpdateNotification, UpdateNotification> - Filter an update stream by specific tables.
-
throttleStream(
Stream< UpdateNotification> input, Duration timeout, {UpdateNotification? addOne}) → Stream<UpdateNotification> -
Throttle an UpdateNotification stream to trigger a maximum of once
every
timeout
.