A task queue based on a directed acyclic graph that allows you to specify dependencies for concurrent tasks.
```rust use futures::future; use futures_dagtask::TaskGraph;
let mut graph = TaskGraph::new();
let zero = graph.addtask(&[], future::ok:: let (_, exec) = graph.execute(); // spawn(exec.for_each(drop));
``` In this example, Due to the simplicity of design, we will never have circular dependencies. This project is licensed under the MIT license.zero
and one
will be executed concurrently,
but two
will be executed after one
is completed.License