mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-12 01:03:34 +00:00
c931d90f34
* wait doc:saved before compiling * Refactor DocumentCompiler class to handle pending operations before compilation * add timeout for pending op * Increase PENDING_OP_MAX_WAIT to 10000 milliseconds * check if currentDoc exists * check doc id on doc:saved * Fix conditional statement * Refactor to add and remove event listeners for doc:saved event * check if getPendingOp exists * typeof getPendingOp * forgot to push updates * add flush-changes event * use promise for handling pending operations * Remove console.logs * add isAwaitingBufferedOps * Revert "add isAwaitingBufferedOps" This reverts commit 56b0bbc13caf6375d1cf50e8f65f599e7263c404. * move _awaitBufferedOps in try block * dont check for matching doc id * add a todo comment GitOrigin-RevId: 9225e7d1a7a69385dc1a26bf7663f89f59db6a8a |
||
---|---|---|
.. | ||
chat | ||
clsi | ||
contacts | ||
docstore | ||
document-updater | ||
filestore | ||
git-bridge | ||
history-v1 | ||
notifications | ||
project-history | ||
real-time | ||
spelling | ||
web |