feat: use future fully figured out

This commit is contained in:
Jonathan Kelley committed 2022-02-21 15:39:47 -05:00
1 parent 86729d929d
commit 9211e1fc78
7 files changed
+481 -348

No files matched your search

+1 -1
View File
@@ -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);
}