Skip to content

ElectronMessageChannelMain

Unofficial

A main-process channel that owns a pair of connected ElectronMessagePortMain ports.

Import:

import type { ElectronMessageChannelMain } from '@obsidian-typings/obsidian-public-latest';

Signature:

export class ElectronMessageChannelMain

Properties

Property Type Description
port1 ElectronMessagePortMain One of the two connected MessagePortMain ports of this channel.
port2 ElectronMessagePortMain The other of the two connected MessagePortMain ports of this channel.

Links to this page: