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

Method dispose

packages/vite/types/hot.d.ts:23–23  ·  view source on GitHub ↗
(cb: (data: any) => void)

Source from the content-addressed store, hash-verified

21 ): void
22
23 dispose(cb: (data: any) => void): void
24 prune(cb: (data: any) => void): void
25 invalidate(message?: string): void
26

Callers 11

stopFunction · 0.65
unresolved.tsFile · 0.65
hmr.tsFile · 0.65
hmrDep.jsFile · 0.65
child.jsFile · 0.65
hmr.tsFile · 0.65
hmrDep.jsFile · 0.65
dep3.jsFile · 0.65
dep2.jsFile · 0.65
child.jsFile · 0.65
closeFunction · 0.65

Implementers 1

HMRContextpackages/vite/src/shared/hmr.ts

Calls

no outgoing calls

Tested by 1

closeFunction · 0.52