Use .then() instead of .after() for sequencing nodes (#760)

* Add .then() for sequencing nodes

* Remove all uses af after

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
0HyperCube
2022-08-28 12:52:46 -07:00
committed by GitHub
co-authored by Keavon Chambers
parent cac92ad9a2
commit 7ca45c25e1
4 changed files with 40 additions and 37 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ mod test {
let value = value.as_owned();
/*let computation = ComposeNode::new(value, add);
let computation = id.after(add.after(value));
let computation = value.then(add).then(id);
let result: u32 = *dyn_any::downcast(computation.eval(&())).unwrap();*/
}*/
#[test]