acme_engine/
scheduler.rs

1/*
2    appellation: scheduler <module>
3    authors: @FL03
4*/
5use crate::sources::SourceManager;
6
7#[derive(Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
8#[cfg_attr(
9    feature = "serde",
10    derive(serde::Serialize, serde::Deserialize),
11    serde(rename_all = "snake_case")
12)]
13#[repr(C)]
14pub struct Scheduler {}
15
16impl Scheduler {
17    /// create a new instance of the [`Scheduler`].
18    pub const fn new() -> Self {
19        Self {}
20    }
21
22    /// start the scheduler with the provided [`SourceManager`].
23    #[cfg_attr(feature = "tracing", tracing::instrument(skip_all, level = "trace"))]
24    pub async fn start(&self, _ctx: SourceManager) {
25        // Implementation for starting the scheduler goes here.
26        // This is a placeholder for now.
27        todo!("Scheduler start logic not implemented yet");
28    }
29}