# announce(options, options.eventName, data)
Send announcement from main process to all renderer (BrowserWindow) processes
Parameters
Name | Types | Description |
---|---|---|
options | object |
- Parameter object |
options.eventName | string |
- Event name for the announcement. |
data | object |
- (optional) Additional data to be passed to subscribed windows |
# announce(options)
Send announcement to all processes.
Parameters
Name | Types | Description |
---|---|---|
options | object |
- Object containing 'eventName': string |
Returns
Point
A Point object.