churn-universe/churn-tasks/wit/world.wit
kjuulh fcce281da3
feat: add actual alloy component
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-12-02 23:11:38 +01:00

20 lines
324 B
Plaintext

package component:churn-tasks@0.1.0;
interface process {
resource process {
constructor();
run-process: func(inputs: list<string>) -> string;
}
}
interface task {
id: func() -> string;
should-run: func() -> bool;
execute: func();
}
world churn {
export task;
export process;
}