fix memos in children; introduce isomorphic spawn
This commit is contained in:
1 parent
7461a14cb4
commit
bbc81b8f9c
10 files changed
+162
-57
No files matched your search
@@ -1,5 +1,3 @@
|
||||
use rustc_hash::FxHashSet;
|
||||
|
||||
use crate::{
|
||||
innerlude::{LocalTask, SchedulerMsg},
|
||||
render_signal::RenderSignal,
|
||||
@@ -30,7 +28,7 @@ pub struct Runtime {
|
||||
pub(crate) tasks: RefCell<slab::Slab<Rc<LocalTask>>>,
|
||||
|
||||
// Currently suspended tasks
|
||||
pub(crate) suspended_tasks: RefCell<FxHashSet<Task>>,
|
||||
pub(crate) suspended_tasks: Cell<usize>,
|
||||
|
||||
pub(crate) rendering: Cell<bool>,
|
||||
|
||||
|
||||
Reference in new issue
Block a user