Skip to content

ElectronWebFrameMain.send method

ElectronWebFrameMain › send

Unofficial

Sends an asynchronous message to the renderer process via channel, along with arguments.

Signature:

send(channel: string, args?: unknown[]): void

Parameters:

Parameter Type Description
channel string The channel name.
args? unknown[] Arguments to serialize and send.

Returns: void