2022-09-09 12:16:19 +02:00
|
|
|
mod autobatcher;
|
2022-09-07 00:10:14 +02:00
|
|
|
mod batch;
|
2022-09-06 16:43:59 +02:00
|
|
|
pub mod error;
|
2022-09-14 12:35:33 +02:00
|
|
|
mod index_mapper;
|
2022-09-14 16:16:53 +02:00
|
|
|
mod index_scheduler;
|
2022-09-06 16:43:59 +02:00
|
|
|
pub mod task;
|
2022-09-07 00:10:14 +02:00
|
|
|
mod utils;
|
2022-09-06 16:43:59 +02:00
|
|
|
|
2022-09-06 23:49:19 +02:00
|
|
|
pub type Result<T> = std::result::Result<T, Error>;
|
2022-09-06 16:43:59 +02:00
|
|
|
pub type TaskId = u32;
|
|
|
|
|
2022-09-14 16:16:53 +02:00
|
|
|
pub use crate::index_scheduler::IndexScheduler;
|
|
|
|
pub use error::Error;
|
|
|
|
/// from the exterior you don't need to know there is multiple type of `Kind`
|
|
|
|
pub use task::KindWithContent as TaskKind;
|
|
|
|
/// from the exterior you don't need to know there is multiple type of `Task`
|
|
|
|
pub use task::TaskView as Task;
|