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

Method off

packages/vite/types/hot.d.ts:31–31  ·  view source on GitHub ↗
(
    event: T,
    cb: (payload: InferCustomEventPayload<T>) => void,
  )

Source from the content-addressed store, hash-verified

29 cb: (payload: InferCustomEventPayload<T>) => void,
30 ): void
31 off<T extends CustomEventName>(
32 event: T,
33 cb: (payload: InferCustomEventPayload<T>) => void,
34 ): void

Callers 10

untilBrowserLogFunction · 0.65
notifyRebuildCompleteFunction · 0.65
startedOnPortFunction · 0.65
cli.spec.tsFile · 0.65
removeCbFunction · 0.65
handleMsgFunction · 0.65
untilConsoleLogFunction · 0.65
removeCbFunction · 0.65
cli-module.spec.tsFile · 0.65
startedOnPortFunction · 0.65

Implementers 1

HMRContextpackages/vite/src/shared/hmr.ts

Calls

no outgoing calls

Tested by 4

startedOnPortFunction · 0.52
handleMsgFunction · 0.52
untilConsoleLogFunction · 0.52
startedOnPortFunction · 0.52