mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix spelling and grammar in Ipc docs (#2880)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
bfcb6c7e36
commit
81a35737fd
2 files changed
+2
-2
No files matched your search
@@ -37,7 +37,7 @@ export abstract class IpcRenderer extends IpcRegistrar {
|
||||
* a component then putting the returned value in a `disposeOnUnmount` call will suffice.
|
||||
* @param channel The channel to listen for broadcasts on
|
||||
* @param listener The function that will be called with the arguments of the broadcast
|
||||
* @returns An optional disopser, Lens will cleanup even if this is not called
|
||||
* @returns An optional disposer, Lens will cleanup even if this is not called
|
||||
*/
|
||||
listen(channel: string, listener: (event: Electron.IpcRendererEvent, ...args: any[]) => any): Disposer {
|
||||
const prefixedChannel = `extensions@${this[IpcPrefix]}:${channel}`;
|
||||
|
||||
Reference in new issue
Block a user