rename flush_sync to wait_for_next_render
This commit is contained in:
1 parent
2e3a730ed5
commit
287416cfa7
7 files changed
+17
-24
No files matched your search
@@ -135,8 +135,6 @@ where
|
||||
|
||||
spawn(async move {
|
||||
loop {
|
||||
// Wait for the dom the be finished with sync work
|
||||
flush_sync().await;
|
||||
rc.changed().await;
|
||||
|
||||
let new = rc.run_in(|| f(dependencies_signal.read().clone()));
|
||||
|
||||
Reference in new issue
Block a user