mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Merge pull request #7843 from electron/process-docs
document the process(es) in which APIs are available
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
> Communicate asynchronously from the main process to renderer processes.
|
||||
|
||||
Process: [Main](../tutorial/quick-start.md#main-process)
|
||||
|
||||
The `ipcMain` module is an instance of the
|
||||
[EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter) class. When used in the main
|
||||
process, it handles asynchronous and synchronous messages sent from a renderer
|
||||
|
||||
Reference in New Issue
Block a user