Skip to content

ElectronWebContents.send method

ElectronWebContents › 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