Don't clone task inputs
This commit is contained in:
1 parent
6f7a58e4c5
commit
4ef7e69cdd
10 files changed
+15
-137
No files matched your search
+1
-1
@@ -227,7 +227,7 @@ impl Task<String, Bytes> for MyTask {
|
||||
let mut dag = Dag::default();
|
||||
dag.add_vertex("one", || async move { /* task */ });
|
||||
dag.add_edge("one", "two");
|
||||
dag.run(|fut| tokio::spawn(fut).map(Result::unwrap)).await?;
|
||||
dag.run().await?;
|
||||
```
|
||||
|
||||
### tasksitter (Dynamic Workflows)
|
||||
|
||||
Reference in new issue
Block a user