server-mark2-dev/plugins/plugin.wit

10 lines
215 B
Text
Raw Permalink Normal View History

package server-m2-dev:plugins;
interface handler {
// The plugin takes a message and returns a processed version
process-message: func(input: string) -> string;
}
world plugin-world {
export handler;
}