Glossary: Desktop Apps with Electron and Tauri
ipcMain.handle
Also written: ipcMain
Registers the main-process answer to a channel. Whatever the handler returns or resolves to becomes the page's result, and a throw rejects the page's promise.
Glossary: Desktop Apps with Electron and Tauri
Also written: ipcMain
Registers the main-process answer to a channel. Whatever the handler returns or resolves to becomes the page's result, and a throw rejects the page's promise.