Skip to content

@k8slens/extensions

Globals / "src/common/ipc"

Module: "src/common/ipc"#

Index#

Interfaces#

Type aliases#

Functions#

Type aliases#

IpcChannel#

Ƭ IpcChannel: string

Defined in src/common/ipc.ts:8

Functions#

broadcastIpc#

broadcastIpc(__namedParameters: { args: any = []; channel: string ; filter: (webContent: WebContents) => boolean ; frameId: number ; frameOnly: boolean ; webContentId: number }): void

Defined in src/common/ipc.ts:63

Parameters:

Name Type
__namedParameters { args: any = []; channel: string ; filter: (webContent: WebContents) => boolean ; frameId: number ; frameOnly: boolean ; webContentId: number }

Returns: void


createIpcChannel#

createIpcChannel(__namedParameters: { autoBind: boolean = true; channel: string ; handle: (...args: any[]) => Promise\ | any ; once: boolean ; timeout: number = 0 }): object

Defined in src/common/ipc.ts:18

Parameters:

Name Type
__namedParameters { autoBind: boolean = true; channel: string ; handle: (...args: any[]) => Promise\ | any ; once: boolean ; timeout: number = 0 }

Returns: object

Name Type
channel string
handleInMain () => void
invokeFromRenderer \(...args: any[]) => Promise\
removeHandler () => void

Last update: November 10, 2020