churn-v2/crates/churn/wit/world.wit
kjuulh 355587234e
Some checks failed
continuous-integration/drone/push Build is failing
feat: allow process from external code
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-12-02 23:12:37 +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;
import process;
}