git-subtree-dir: crates/pumpkin-plugin-wit git-subtree-split: 1ad73fff1e0a9e21b99255816df5f99f6260c1b9
8 lines
290 B
Plaintext
8 lines
290 B
Plaintext
interface ipc {
|
|
type plugin-id = string;
|
|
type ipc-message = list<u8>;
|
|
|
|
// Sends a message to the specified plugin, synchronously receiving a response (or an error).
|
|
send-ipc-message: func(recipient: plugin-id, message: ipc-message) -> result<result<ipc-message, string>>;
|
|
}
|