wip: change around how deadline works

This commit is contained in:
Jonathan Kelley committed 2021-09-09 21:01:38 -04:00
1 parent da8159190b
commit 369b36b2c6
2 files changed
+4 -4

No files matched your search

-1
View File
@@ -320,7 +320,6 @@ impl VirtualDom {
&'s mut self,
deadline: impl Future<Output = ()>,
) -> Vec<Mutations<'s>> {
let mut deadline = Box::pin(deadline.fuse());
self.scheduler.work_with_deadline(deadline).await
}