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:

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

Returns: void