feat: allow process from external code
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-12-02 23:12:37 +01:00
parent 21a13f3444
commit 355587234e
2 changed files with 85 additions and 6 deletions

View File

@@ -1,5 +1,12 @@
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;
@@ -8,4 +15,5 @@ interface task {
world churn {
export task;
import process;
}