rename flush_sync to wait_for_next_render

This commit is contained in:
Evan Almloff committed 2024-03-04 19:52:17 -06:00
1 parent 2e3a730ed5
commit 287416cfa7
7 files changed
+17 -24

No files matched your search

-2
View File
@@ -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()));