MCPcopy
hub / github.com/facebook/react / handleClose

Function handleClose

packages/react-devtools-core/src/backend.js:276–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

274 };
275
276 function handleClose() {
277 if (__DEBUG__) {
278 debug('WebSocket.onclose');
279 }
280
281 if (bridge !== null) {
282 bridge.emit('shutdown');
283 }
284
285 scheduleRetry();
286 }
287
288 function handleFailed() {
289 if (__DEBUG__) {

Callers

nothing calls this directly

Calls 3

scheduleRetryFunction · 0.85
debugFunction · 0.70
emitMethod · 0.45

Tested by

no test coverage detected