1
0
Fork 0
forked from wry/wry

async_engine: move toplevel scheduler into crate

This commit is contained in:
kossLAN 2026-05-29 12:10:40 -04:00
parent 7d9cd198ba
commit 9606e0892c
No known key found for this signature in database
3 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,8 @@
mod ae_task; mod ae_task;
mod ae_yield; 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 { use {
crate::ae_task::Runnable, crate::ae_task::Runnable,
jay_time::Time, jay_time::Time,

View file

@ -1,8 +1,6 @@
use { use {
crate::{ crate::{AsyncEngine, SpawnedFuture},
async_engine::{AsyncEngine, SpawnedFuture}, jay_utils::queue::AsyncQueue,
utils::queue::AsyncQueue,
},
std::rc::Rc, std::rc::Rc,
}; };

View file

@ -89,7 +89,9 @@ pub mod linkedlist;
pub mod line_logger; pub mod line_logger;
pub mod object_drop_queue; pub mod object_drop_queue;
pub mod pending_serial; pub mod pending_serial;
pub mod run_toplevel; pub mod run_toplevel {
pub use jay_async_engine::RunToplevel;
}
pub mod scroller; pub mod scroller;
pub mod timer; pub mod timer;