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

Function if

packages/react-devtools-shared/src/bridge.js:337–342  ·  view source on GitHub ↗
(this._isShutdown)

Source from the content-addressed store, hash-verified

335 ...payload: OutgoingEvents[EventName]
336 ) {
337 if (this._isShutdown) {
338 console.warn(
339 `Cannot send message "${event}" through a Bridge that has been shutdown.`,
340 );
341 return;
342 }
343
344 // When we receive a message:
345 // - we add it to our queue of messages to be sent

Calls

no outgoing calls

Tested by

no test coverage detected