Delaying saving of the local state change from dispatcher (useful when many changes happen at about the same time)
Change-Id: I6082a335ce1f061ddcd53b7ce46f4edbab310fbe
diff --git a/src/sync-core.h b/src/sync-core.h
index b804ac5..c2b427b 100644
--- a/src/sync-core.h
+++ b/src/sync-core.h
@@ -56,6 +56,15 @@
void
localStateChanged ();
+ /**
+ * @brief Schedule an event to update local state with a small delay
+ *
+ * This call is preferred to localStateChanged if many local state updates
+ * are anticipated within a short period of time
+ */
+ void
+ localStateChangedDelayed ();
+
void
updateLocalState (sqlite3_int64);