MCPcopy Create free account
hub / github.com/clientdb/clientdb / handleRemoveRequest

Function handleRemoveRequest

core/queryIndex.ts:229–236  ·  view source on GitHub ↗
(entity: TargetEntity)

Source from the content-addressed store, hash-verified

227 }
228
229 function handleRemoveRequest(entity: TargetEntity) {
230 if (isBasedOnBuiltInKey) {
231 removeItemFromIndex(entity);
232 return;
233 }
234
235 stopWatchingEntityForDerievedChange(entity);
236 }
237
238 function initializeIndex() {
239 runInAction(() => {

Callers

nothing calls this directly

Calls 2

removeItemFromIndexFunction · 0.85

Tested by

no test coverage detected