MCPcopy Create free account
hub / github.com/SuboptimalEng/coding-tutorials / ipcTest

Function ipcTest

_templates/04-electron-build/src/renderer/App.tsx:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 window.ipc.on('test', (payload: any) => console.log({ payload }));
25
26 const ipcTest = () => {
27 window.ipc.send('test', { from: 'app.tsx' });
28 };
29
30 return (
31 <div className="App">

Callers 1

AppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected