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