Skip to content

@pumpkin-plugins/plugin-kit API / ipc / ipcSend

Function: ipcSend() ​

ipcSend(recipient, message): Uint8Array

Defined in: tools/plugin-kit/src/ipc.ts:9

Sends an IPC message to another plugin and returns its answer.

Parameters ​

recipient ​

string

The other plugin's name, as it shows in Pumpkin.

message ​

Uint8Array

The bytes to send.

Returns ​

Uint8Array

Throws ​

When the plugin isn't loaded or answers with an error.

Pumpkin Plugins documentation