Skip to content

@pumpkin-plugins/upnpumpkin API / keys / pluginKey

Function: pluginKey() ​

pluginKey(sender, key): string

Defined in: packages/upnpumpkin/src/keys.ts:8

The mapper key of a port another plugin asked for. The sender and its key are written as JSON, so colons in either can't make two plugins share a key.

Parameters ​

sender ​

string

key ​

string

Returns ​

string

pumpkin-plugins documentation