Pumpkin/crates/pumpkin-plugin-wit/v0.1/ipc.wit
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>>;
}