fix(scheduler) fn type

This commit is contained in:
lumither committed 2024-11-17 21:06:36 -08:00
1 parent d98aa3f745
commit a123ff9f3f
11 files changed
+103 -10

No files matched your search

+4
View File
@@ -156,6 +156,10 @@ impl Scheduler {
self.tasks.write()?.insert(id, Arc::new(task));
Ok(id)
}
pub fn new() -> Self {
Self::default()
}
}
#[cfg(test)]