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

Method off

packages/vite/src/node/server/hmr.ts:140–140  ·  view source on GitHub ↗

* Unregister event listener

(event: string, listener: Function)

Source from the content-addressed store, hash-verified

138 * Unregister event listener
139 */
140 off?(event: string, listener: Function): void
141 /**
142 * Start listening for messages
143 */

Callers 10

onErrorFunction · 0.65
onListeningFunction · 0.65
teardownSIGTERMListenerFunction · 0.65
disconnectFunction · 0.65
createWorkerTransportFunction · 0.65
normalizeHotChannelFunction · 0.65
setInvokeHandlerFunction · 0.65
offFunction · 0.65
closeFunction · 0.65
createWebSocketServerFunction · 0.65

Calls

no outgoing calls

Tested by 1

createWorkerTransportFunction · 0.52