Skip to content

@pumpkin-plugins/upnpumpkin-api API / client / SendMessage

Type Alias: SendMessage ​

SendMessage = (recipient, message) => Uint8Array

Defined in: tools/upnpumpkin-api/src/client.ts:16

Sends one IPC message and returns the answer.

Parameters ​

recipient ​

string

message ​

Uint8Array

Returns ​

Uint8Array

Throws ​

When the recipient isn't loaded or can't answer.

Pumpkin Plugins documentation