feat: use future fully figured out
This commit is contained in:
1 parent
86729d929d
commit
9211e1fc78
7 files changed
+481
-348
No files matched your search
@@ -748,7 +748,7 @@ impl ScopeState {
|
||||
}
|
||||
|
||||
// todo: attach some state to the future to know if we should poll it
|
||||
pub fn remove_future(&self, id: TaskId) {
|
||||
pub fn cancel_future(&self, id: TaskId) {
|
||||
self.tasks.remove_fut(id);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user