MCPcopy
hub / github.com/vitejs/vite / delete

Method delete

packages/vite/src/node/server/bundledDev.ts:512–519  ·  view source on GitHub ↗
(client: NormalizedHotChannelClient)

Source from the content-addressed store, hash-verified

510 }
511
512 delete(client: NormalizedHotChannelClient): string | undefined {
513 const id = this.clientToId.get(client)
514 if (id) {
515 this.clientToId.delete(client)
516 this.idToClient.delete(id)
517 return id
518 }
519 }
520}
521
522function debounce(time: number, cb: () => void) {

Callers 15

cleanUrlFunction · 0.80
onChangeFunction · 0.80
removeStyleFunction · 0.80
cachedModuleMethod · 0.80
resetInterceptorFunction · 0.80
removeFromMapMethod · 0.80
onMessageFunction · 0.80
invokeFunction · 0.80
invalidatePackageDataFunction · 0.80
teardownSIGTERMListenerFunction · 0.80
createWorkerTransportFunction · 0.80
handleHookPromiseMethod · 0.80

Calls 1

getMethod · 0.45

Tested by 1

createWorkerTransportFunction · 0.64