Class: IPCMessage
Constructors
new IPCMessage()
new IPCMessage(
options
):IPCMessage
Parameters
Parameter | Type |
---|---|
options | IIPCMessage |
Returns
Defined in
src/core/classes/IPCMessage.ts:30 (opens in a new tab)
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
cid | public | string | src/core/classes/IPCMessage.ts:27 (opens in a new tab) |
data | public | IPCData | src/core/classes/IPCMessage.ts:28 (opens in a new tab) |
event | public | IPCEvent | src/core/classes/IPCMessage.ts:26 (opens in a new tab) |
from | public | string | number | src/core/classes/IPCMessage.ts:24 (opens in a new tab) |
to? | public | null | string | number | src/core/classes/IPCMessage.ts:25 (opens in a new tab) |
Methods
reply()
reply(
event
,data
,to
?):void
Parameters
Parameter | Type |
---|---|
event | IPCEvent |
data | IPCData |
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}`