From b9e2806042beb0b91da6ca9b4d724752ebe6e70c Mon Sep 17 00:00:00 2001 From: Mark Potnick Date: Wed, 3 Feb 2016 15:15:13 -0500 Subject: [PATCH] Fixing typo --- docs/api/ipc-renderer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/ipc-renderer.md b/docs/api/ipc-renderer.md index 090fd1a9..96936632 100644 --- a/docs/api/ipc-renderer.md +++ b/docs/api/ipc-renderer.md @@ -37,9 +37,9 @@ channel. This removes *all* handlers to this ipc channel. -### `ipcMain.once(channel, callback)` +### `ipcRenderer.once(channel, callback)` -Use this in place of `ipcMain.on()` to fire handlers meant to occur only once, +Use this in place of `ipcRenderer.on()` to fire handlers meant to occur only once, as in, they won't be activated after one call of `callback` ## Sending Messages -- 2.43.0