From f646be298126ea556628a4321b1493ba41569448 Mon Sep 17 00:00:00 2001 From: Zeke Sikelianos Date: Tue, 27 Jun 2017 12:01:39 -0700 Subject: [PATCH] document the return value of ipcRenderer.sendSync --- docs/api/ipc-renderer.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/ipc-renderer.md b/docs/api/ipc-renderer.md index de6764876458..9a98f14aad25 100644 --- a/docs/api/ipc-renderer.md +++ b/docs/api/ipc-renderer.md @@ -62,6 +62,8 @@ The main process handles it by listening for `channel` with `ipcMain` module. * `channel` String * `...args` any[] +Returns `any` - The value sent back by the [`ipcMain`](ipc-main.md) handler. + Send a message to the main process synchronously via `channel`, you can also send arbitrary arguments. Arguments will be serialized in JSON internally and hence no functions or prototype chain will be included.