MCPcopy Create free account
hub / github.com/jhen0409/react-native-debugger / sendContextMenuUpdate

Function sendContextMenuUpdate

app/utils/devMenu.js:35–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33
34let networkInspectEnabled = !!config.networkInspect
35const sendContextMenuUpdate = () => {
36 ipcRenderer.send(`context-menu-available-methods-update-${currentWindow.id}`, {
37 availableMethods,
38 networkInspectEnabled,
39 })
40}
41
42export const networkInspect = {
43 isEnabled: () => !!networkInspectEnabled,

Callers 2

toggleFunction · 0.85
setDevMenuMethodsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected