Merge pull request #7843 from electron/process-docs

document the process(es) in which APIs are available
This commit is contained in:
Zeke Sikelianos 2016-11-03 13:14:30 -07:00 committed by GitHub
commit ef9d8fe9bd
29 changed files with 74 additions and 2 deletions

View file

@ -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