MCPcopy Create free account
hub / github.com/massCodeIO/massCode / send

Function send

src/main/ipc/index.ts:18–20  ·  view source on GitHub ↗
(channel: Channel, payload?: unknown)

Source from the content-addressed store, hash-verified

16const lazyRequire = createRequire(__filename)
17
18export function send(channel: Channel, payload?: unknown) {
19 BrowserWindow.getFocusedWindow()?.webContents.send(channel, payload)
20}
21
22export function registerIPC() {
23 registerDialogHandlers()

Callers 11

notifyAboutUpdateFunction · 0.90
checkForUpdatesFunction · 0.90
main.tsFile · 0.90
createPrimaryActionClickFunction · 0.90
createFileMenuItemsFunction · 0.90
createLayoutMenuItemsFunction · 0.90
createSortMenuItemsFunction · 0.90
createViewMenuItemsFunction · 0.90
createHistoryMenuItemsFunction · 0.90
createEditorMenuItemsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected