Get workspace module in and compiling

This commit is contained in:
Nathan Sobo
2021-03-18 15:52:46 -06:00
parent 171dd0c243
commit 9bab29c72f
12 changed files with 1696 additions and 39 deletions
-2
View File
@@ -230,7 +230,6 @@ impl App {
read(state.view(handle), state.ctx())
}
#[cfg(test)]
pub fn finish_pending_tasks(&self) -> impl Future<Output = ()> {
self.0.borrow().finish_pending_tasks()
}
@@ -1036,7 +1035,6 @@ impl MutableAppContext {
.detach()
}
#[cfg(test)]
pub fn finish_pending_tasks(&self) -> impl Future<Output = ()> {
let mut pending_tasks = self.task_callbacks.keys().cloned().collect::<HashSet<_>>();
let task_done = self.task_done.1.clone();