You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/src/commonMain/kotlin/com/powersync/db/Queries.kt
+2
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,7 @@ public interface Queries {
97
97
*
98
98
* @param tables The set of tables to monitor for changes.
99
99
* @param throttleMs The minimum interval, in milliseconds, between emissions. Defaults to [DEFAULT_THROTTLE]. Table changes are accumulated while throttling is active. The accumulated set of tables will be emitted on the trailing edge of the throttle.
100
+
* @param triggerImmediately If true (default), the flow will immediately emit an empty set of tables when the flow is first collected. This can be useful for ensuring that the flow emits at least once, even if no changes occur to the monitored tables.
100
101
* @return A [Flow] emitting the set of modified tables.
101
102
* @throws PowerSyncException If a database error occurs.
102
103
* @throws CancellationException If the operation is cancelled.
0 commit comments