churn-v2/crates/churn/wit/world.wit

20 lines
324 B
Plaintext
Raw Permalink Normal View History

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