Crate reifydb_sub_api

Crate reifydb_sub_api 

Source
Expand description

Subsystem API crate providing common interfaces for ReifyDB subsystems

This crate contains the core traits and types that all subsystems must implement and use to interact with the ReifyDB system.

Re-exports§

pub use subsystem::HealthStatus;
pub use subsystem::Subsystem;
pub use subsystem::SubsystemFactory;
pub use worker::BoxedOnceTask;
pub use worker::BoxedTask;
pub use worker::ClosureTask;
pub use worker::OnceClosureTask;
pub use worker::OnceTask;
pub use worker::Priority;
pub use worker::SchedulableTask;
pub use worker::Scheduler;
pub use worker::SchedulerService;
pub use worker::TaskContext;
pub use worker::TaskHandle;

Modules§

subsystem
worker
Worker interface for centralized task management

Macros§

task
Macro for creating tasks with less boilerplate
task_once
Macro for creating one-time tasks with FnOnce semantics