Skip to content

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.

Where the book teaches it

Related terms

invokeChannel