Browse Source

docs: direct readers to IpcMain

Samuel Maddock 3 months ago
parent
commit
388469f6b5
1 changed files with 7 additions and 0 deletions
  1. 7 0
      docs/api/ipc-main-service-worker.md

+ 7 - 0
docs/api/ipc-main-service-worker.md

@@ -4,6 +4,13 @@
 
 Process: [Main](../glossary.md#main-process)
 
+> [!NOTE]
+> This API is a subtle variation of [`IpcMain`](ipc-main.md)—targeted for
+> communicating with service workers. For communicating with web frames,
+> consult the `IpcMain` documentation.
+
+<!-- TODO(samuelmaddock): refactor doc gen to allow generics to reduce duplication -->
+
 ### Instance Methods
 
 #### `ipcMainServiceWorker.on(channel, listener)`