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

Function onRendererEvent

src/preload/utils.ts:51–56  ·  view source on GitHub ↗
(
  event: EventType,
  listener: (event: Electron.IpcRendererEvent, args: string) => void,
)

Source from the content-addressed store, hash-verified

49 * @param listener - The callback invoked when the event is received.
50 */
51export function onRendererEvent(
52 event: EventType,
53 listener: (event: Electron.IpcRendererEvent, args: string) => void,
54) {
55 ipcRenderer.on(event, listener);
56}

Callers 2

index.tsFile · 0.90
utils.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected