Reference
Classes
Ipcmessage

Class: IPCMessage

Constructors

new IPCMessage()

new IPCMessage(options): IPCMessage

Parameters

ParameterType
optionsIIPCMessage

Returns

IPCMessage

Defined in

src/core/classes/IPCMessage.ts:30 (opens in a new tab)

Properties

PropertyModifierTypeDefined in
cidpublicstringsrc/core/classes/IPCMessage.ts:27 (opens in a new tab)
datapublicIPCDatasrc/core/classes/IPCMessage.ts:28 (opens in a new tab)
eventpublicIPCEventsrc/core/classes/IPCMessage.ts:26 (opens in a new tab)
frompublicstring | numbersrc/core/classes/IPCMessage.ts:24 (opens in a new tab)
to?publicnull | string | numbersrc/core/classes/IPCMessage.ts:25 (opens in a new tab)

Methods

reply()

reply(event, data, to?): void

Parameters

ParameterType
eventIPCEvent
dataIPCData
to?null | string | number

Returns

void

Defined in

src/core/classes/IPCMessage.ts:58 (opens in a new tab)


generateCID()

static generateCID(): `${string}-${string}-${string}-${string}-${string}`

Returns

`${string}-${string}-${string}-${string}-${string}`

Defined in

src/core/classes/IPCMessage.ts:64 (opens in a new tab)