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:

ParameterTypeDescription
channelstringThe channel name.
args?unknown[]Arguments to serialize and send.

Returns: void