feat: update with web assembly components
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-12-01 22:21:17 +01:00
parent 2387a70778
commit db4cc98643
14 changed files with 1500 additions and 25 deletions

View File

@@ -2,7 +2,7 @@ use std::sync::Arc;
#[async_trait::async_trait]
pub trait Task {
fn id(&self) -> String;
async fn id(&self) -> anyhow::Result<String>;
async fn should_run(&self) -> anyhow::Result<bool> {
Ok(true)
}