futuresdr 0.0.41

An Experimental Async SDR Runtime for Heterogeneous Architectures.
Documentation
//! Scheduler trait and built-in scheduler implementations.
//!
//! Schedulers execute normal flowgraph block tasks and general async tasks
//! spawned through [`crate::runtime::Runtime`]. Most applications use the
//! default scheduler selected by `Runtime::new`; custom schedulers implement
//! [`crate::runtime::scheduler::Scheduler`].

#[cfg(feature = "flow_scheduler")]
mod flow;
#[cfg(feature = "flow_scheduler")]
pub use crate::runtime::scheduler::flow::FlowScheduler;

#[cfg(not(target_arch = "wasm32"))]
mod smol;
#[cfg(not(target_arch = "wasm32"))]
pub use crate::runtime::scheduler::smol::SmolScheduler;
#[allow(clippy::module_inception)]
mod scheduler;
pub use scheduler::Scheduler;

#[cfg(target_arch = "wasm32")]
pub mod wasm;
#[cfg(target_arch = "wasm32")]
pub use wasm::WasmMainScheduler;
#[cfg(target_arch = "wasm32")]
pub use wasm::WasmScheduler;

#[cfg(not(target_arch = "wasm32"))]
pub use async_task::Task;
#[cfg(target_arch = "wasm32")]
pub use wasm::Task;