reifydb_sub_api/lib.rs
1// Copyright (c) reifydb.com 2025
2// This file is licensed under the AGPL-3.0-or-later, see license.md file
3
4//! Subsystem API crate providing common interfaces for ReifyDB subsystems
5//!
6//! This crate contains the core traits and types that all subsystems must implement
7//! and use to interact with the ReifyDB system.
8
9pub mod subsystem;
10pub mod worker;
11
12pub use subsystem::{HealthStatus, Subsystem, SubsystemFactory};
13pub use worker::{
14 BoxedOnceTask, BoxedTask, ClosureTask, OnceClosureTask, OnceTask, Priority, SchedulableTask, Scheduler,
15 SchedulerService, TaskContext, TaskHandle,
16};