MCPcopy Create free account
hub / github.com/apitable/apitable / syncOperations

Method syncOperations

packages/core/src/sync/room.ts:689–696  ·  view source on GitHub ↗
(localOperations: IResourceOpsCollect[])

Source from the content-addressed store, hash-verified

687 */
688 @errorCapture<RoomService>()
689 syncOperations(localOperations: IResourceOpsCollect[]) {
690 localOperations.forEach((lop) => {
691 const collaEngine = this.collaEngineMap.get(lop.resourceId);
692 lop.operations.forEach((op) => collaEngine?.pushOpBuffer(op));
693 });
694
695 this.nextSend();
696 }
697
698 /**
699 * Is it safe to close?

Callers 1

ResourceServiceClass · 0.80

Calls 3

getMethod · 0.65
forEachMethod · 0.45
pushOpBufferMethod · 0.45

Tested by

no test coverage detected