Pumpkin/v0.1/ipc.wit
Demetrius Kanios a902e9d548 Squashed 'crates/pumpkin-plugin-wit/' content from commit 1ad73fff1
git-subtree-dir: crates/pumpkin-plugin-wit
git-subtree-split: 1ad73fff1e0a9e21b99255816df5f99f6260c1b9
2026-09-14 11:02:09 -07:00

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>>;
}