feat: add http client
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-01-10 21:42:20 +01:00
parent efec76d28c
commit 8923c60d9e
6 changed files with 242 additions and 163 deletions

View File

@@ -8,6 +8,13 @@ interface process {
}
}
interface http {
resource client {
constructor();
get: func(url: string) -> list<u8>;
}
}
interface task {
id: func() -> string;
should-run: func() -> bool;
@@ -17,4 +24,5 @@ interface task {
world churn {
export task;
import process;
import http;
}