Skip to main content

rustvello_sqlite/orchestrator/
mod.rs

1mod blocking;
2mod concurrency;
3mod query;
4mod recovery;
5mod status;
6
7#[cfg(test)]
8mod tests;
9
10use std::sync::Arc;
11
12use crate::db::Database;
13
14/// SQLite-backed orchestrator implementation.
15pub struct SqliteOrchestrator {
16    db: Arc<Database>,
17}
18
19impl SqliteOrchestrator {
20    pub fn new(db: Arc<Database>) -> Self {
21        Self { db }
22    }
23}