chore: use std::future::Future instead
This commit is contained in:
1 parent
f5bc137f01
commit
f7df6a9893
10 files changed
+26
-54
No files matched your search
@@ -2,12 +2,13 @@ use std::{
|
||||
any::{Any, TypeId},
|
||||
cell::{Cell, RefCell},
|
||||
collections::{HashMap, HashSet},
|
||||
rc::Rc,
|
||||
sync::Arc,
|
||||
};
|
||||
|
||||
use bumpalo::Bump;
|
||||
use futures_channel::mpsc::UnboundedSender;
|
||||
use futures_util::Future;
|
||||
use std::future::Future;
|
||||
|
||||
use crate::{
|
||||
any_props::AnyProps,
|
||||
@@ -60,7 +61,7 @@ pub struct ScopeState {
|
||||
|
||||
pub(crate) shared_contexts: RefCell<HashMap<TypeId, Box<dyn Any>>>,
|
||||
|
||||
pub(crate) tasks: Scheduler,
|
||||
pub(crate) tasks: Rc<Scheduler>,
|
||||
pub(crate) spawned_tasks: HashSet<TaskId>,
|
||||
|
||||
pub(crate) props: *mut dyn AnyProps<'static>,
|
||||
|
||||
Reference in new issue
Block a user