y-prosemirror icon indicating copy to clipboard operation
y-prosemirror copied to clipboard

Debounce or otherwise limit the rate of update generation

Open link2xt opened this issue 9 months ago • 0 comments

There is currently no way to control the rate of update generation, at least the one I am aware of. Are updates generated on every character typed or is there some delay? If there is, how can it be configured?

While it is possible to collect updates and call mergeUpdates (or mergeUpdatesV2) before sending them over the wire, this seems to be an inefficient way to do this.

Downstream issue: https://codeberg.org/webxdc/editor/issues/66

link2xt avatar Sep 24 '23 16:09 link2xt