when2task 0.3.1

high-performance library for executing async tasks with automatic dependency resolution and optimal parallelization.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::TaskId;
use thiserror::Error;

#[derive(Debug, Error)]
pub enum BlueprintError {
    #[error("Circular dependency detected: {0:?}")]
    CircularDependency(Vec<TaskId>),

    #[error("Task {0} has missing dependency {1}")]
    MissingDependency(TaskId, TaskId),

    #[error("Internal error: {0}")]
    InternalError(String),
}