minor changes & work on threading

This commit is contained in:
2025-03-04 00:53:06 +00:00
parent 0a5269eeb0
commit 48dcde0c02
8 changed files with 62 additions and 54 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ pub mod window;
pub trait Application {
type Output;
async fn run(&mut self, args: Vec<String>) -> Result<Self::Output, Error>;
fn run(&mut self, args: Vec<String>) -> impl Future<Output = Result<Self::Output, Error>> + Send;
}
#[derive(Debug)]