Update ipc-renderer.md
Removed duplication.
This commit is contained in:
		
					parent
					
						
							
								87546bd4f8
							
						
					
				
			
			
				commit
				
					
						b7ae9d3337
					
				
			
		
					 1 changed files with 3 additions and 4 deletions
				
			
		| 
						 | 
					@ -37,11 +37,10 @@ send arbitrary arguments. The main process handles it by listening for the
 | 
				
			||||||
* `arg` (optional)
 | 
					* `arg` (optional)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Send an event to the main process synchronously via a `channel`, you can also
 | 
					Send an event to the main process synchronously via a `channel`, you can also
 | 
				
			||||||
send arbitrary arguments. The main process handles it by listening for the
 | 
					send arbitrary arguments.
 | 
				
			||||||
`channel` event with `ipcMain`.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
The main process handles it by listening for the `channel` event with `ipc` and
 | 
					The main process handles it by listening for the `channel` event with 
 | 
				
			||||||
replies by setting the `event.returnValue`.
 | 
					`ipcMain` and replies by setting `event.returnValue`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
__Note:__ Sending a synchronous message will block the whole renderer process,
 | 
					__Note:__ Sending a synchronous message will block the whole renderer process,
 | 
				
			||||||
unless you know what you are doing you should never use it.
 | 
					unless you know what you are doing you should never use it.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue