mirror of
https://github.com/webodf/WebODF.git
synced 2026-11-30 16:47:58 +01:00
Focus saving and restoring is expensive on most browsers, so major gains in performance are realised by not doing this for every operation. A new pair of signals implemented by operation routers denotes when a batch of operations is about to processed, and when the router has completed this batch. Note, there is no implied promises about how many operations are executed within a batch. This is left as a choice to the router implementations.