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

Function clearComputeCache

packages/core/src/cache_manager/index.ts:75–85  ·  view source on GitHub ↗
(dstId?: string)

Source from the content-addressed store, hash-verified

73}
74
75export const clearComputeCache = (dstId?: string) => {
76 ExpCache.clearAll();
77 if (dstId) {
78 CacheManager.clearDsCache(dstId);
79 } else {
80 CacheManager.clear();
81 }
82 if (computeCache) {
83 computeCache.clear();
84 }
85};
86
87/**
88 * clear cached selectors

Callers 2

applyRoomChangesetMethod · 0.90
handleChangesetsMethod · 0.90

Calls 2

clearAllMethod · 0.65
clearMethod · 0.65

Tested by

no test coverage detected