()
| 643 | |
| 644 | // Clear all pending ops and pending changesets |
| 645 | private clearAllStorage() { |
| 646 | for (const resourceId of this.collaEngineMap.keys()) { |
| 647 | const collaEngine = this.collaEngineMap.get(resourceId)!; |
| 648 | collaEngine.clearLocalPendingChangeset(); |
| 649 | collaEngine.clearOpBuffer(); |
| 650 | } |
| 651 | } |
| 652 | |
| 653 | /** |
| 654 | * @description for the next round of sending |
no test coverage detected