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

Method reset

packages/widget-sdk/src/resource/service.ts:440–442  ·  view source on GitHub ↗

* @description 1. delete the resource data on the store; * 2. delete the resource from collaEngineMap provided that the engine has issued an op * @param {string} resourceId

(resourceId: string)

Source from the content-addressed store, hash-verified

438 * @param {string} resourceId
439 */
440 reset(resourceId: string) {
441 this.roomService.quit(resourceId);
442 }
443
444 onNewChanges(resourceType: ResourceType, resourceId: string, actions: IJOTAction[]) {
445 console.log('================= change from remote ================');

Callers 1

destroyMethod · 0.95

Calls 1

quitMethod · 0.65

Tested by

no test coverage detected