Create a channel-filtering IPC bridge for Electron preload scripts.
Only channels listed in allowedChannels or matching channelPrefix are forwarded. Use the returned bridge as the endpoint for electronIpcTransport().
allowedChannels
channelPrefix
endpoint
electronIpcTransport()
Create a channel-filtering IPC bridge for Electron preload scripts.
Only channels listed in
allowedChannelsor matchingchannelPrefixare forwarded. Use the returned bridge as theendpointforelectronIpcTransport().