MCPcopy Index your code
hub / github.com/gitify-app/gitify / sendRendererEvent

Function sendRendererEvent

src/main/events.ts:44–54  ·  view source on GitHub ↗
(
  mb: Menubar,
  event: EventType,
  data?: string,
)

Source from the content-addressed store, hash-verified

42 * @param data - Optional payload sent with the event.
43 */
44export function sendRendererEvent(
45 mb: Menubar,
46 event: EventType,
47 data?: string,
48) {
49 if (!mb.window) {
50 return;
51 }
52
53 mb.window.webContents.send(event, data);
54}

Callers 3

events.test.tsFile · 0.90
handleProtocolURLFunction · 0.90
resetAppFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected