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

Function sendMainEvent

src/preload/utils.ts:11–13  ·  view source on GitHub ↗
(event: EventType, data?: EventData)

Source from the content-addressed store, hash-verified

9 * @param data - Optional payload to include with the event.
10 */
11export function sendMainEvent(event: EventType, data?: EventData): void {
12 ipcRenderer.send(event, data);
13}
14
15/**
16 * Send an IPC message from the renderer to the main process and await a response.

Callers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected