async_engine: move toplevel scheduler into crate
This commit is contained in:
parent
7d9cd198ba
commit
9606e0892c
3 changed files with 7 additions and 6 deletions
|
|
@ -1,7 +1,8 @@
|
|||
mod ae_task;
|
||||
mod ae_yield;
|
||||
mod run_toplevel;
|
||||
|
||||
pub use {ae_task::SpawnedFuture, ae_yield::Yield};
|
||||
pub use {ae_task::SpawnedFuture, ae_yield::Yield, run_toplevel::*};
|
||||
use {
|
||||
crate::ae_task::Runnable,
|
||||
jay_time::Time,
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
use {
|
||||
crate::{
|
||||
async_engine::{AsyncEngine, SpawnedFuture},
|
||||
utils::queue::AsyncQueue,
|
||||
},
|
||||
crate::{AsyncEngine, SpawnedFuture},
|
||||
jay_utils::queue::AsyncQueue,
|
||||
std::rc::Rc,
|
||||
};
|
||||
|
||||
|
|
@ -89,7 +89,9 @@ pub mod linkedlist;
|
|||
pub mod line_logger;
|
||||
pub mod object_drop_queue;
|
||||
pub mod pending_serial;
|
||||
pub mod run_toplevel;
|
||||
pub mod run_toplevel {
|
||||
pub use jay_async_engine::RunToplevel;
|
||||
}
|
||||
pub mod scroller;
|
||||
pub mod timer;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue