2024-12-01 20:59:10 +01:00
|
|
|
package component:churn-tasks@0.1.0;
|
|
|
|
|
2024-12-02 23:11:38 +01:00
|
|
|
interface process {
|
|
|
|
resource process {
|
|
|
|
constructor();
|
|
|
|
run-process: func(inputs: list<string>) -> string;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-12-01 20:59:10 +01:00
|
|
|
interface task {
|
|
|
|
id: func() -> string;
|
|
|
|
should-run: func() -> bool;
|
|
|
|
execute: func();
|
|
|
|
}
|
|
|
|
|
|
|
|
world churn {
|
|
|
|
export task;
|
2024-12-02 23:11:38 +01:00
|
|
|
export process;
|
2024-12-01 20:59:10 +01:00
|
|
|
}
|