Delay and group updates
See #31 (closed)
valueChanged() should either:
- do nothing, and a diff is made periodically
- OR creates a timer (setTimeout()) to eventually perform the transaction
iff no timer is already setup
(optionally increase delay: replace a running timer if not older than x seconds)
In both cases, the transaction is skipped if nothing changed
Depends on c-client#45 (closed)
Selected solution: Before retrieving remote updates, we have to perform a diff and push local changes. Thus, we decided to perform a diff followed by a get periodically (at least 3 seconds between the end of the previous one and the beginning of the next one).
Edited by Yannick Li