feat: add actual alloy component

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-12-02 23:11:38 +01:00
parent be4d755d51
commit fcce281da3
8 changed files with 676 additions and 12 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;
export process;
}