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

Function onDisconnection

packages/vite/src/shared/moduleRunnerTransport.ts:208–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206 const maybePromise = invokeableTransport.connect!({
207 onMessage: onMessage ?? (() => {}),
208 onDisconnection() {
209 isConnected = false
210 },
211 })
212 if (maybePromise) {
213 connectingPromise = maybePromise

Callers 1

connectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected