Open amilich opened 4 years ago
This will require debounce @nateps . Am I correct?
The OT type can coalesce ops using compose, and it does this by default when the round trip time is slower than someone's typing speed. Would be a good feature request on https://github.com/share/sharedb to provide configuration for a throttle interval. Could be implemented as an option on the connection, document, or submitOp method.
Okay, thanks
If I want my string binding to delay sending inserts/deletes on every single keyup, is there any way to delay events to condense multiple operations?
So, if I type "abcd," I see a single "si" operation to insert "abcd" instead of 4 separate inserts.