()
| 630 | } |
| 631 | |
| 632 | private getLocalPendingChangesets() { |
| 633 | const localPendingChangeset: ILocalChangeset[] = []; |
| 634 | for (const resourceId of this.collaEngineMap.keys()) { |
| 635 | const collaEngine = this.collaEngineMap.get(resourceId)!; |
| 636 | const cs = collaEngine.getLocalPendingChangeset(); |
| 637 | if (cs) { |
| 638 | localPendingChangeset.push(cs); |
| 639 | } |
| 640 | } |
| 641 | return localPendingChangeset; |
| 642 | } |
| 643 | |
| 644 | // Clear all pending ops and pending changesets |
| 645 | private clearAllStorage() { |
no test coverage detected