Stop the graph, it is equivalent to drop all inputs of the graph
(mut self)
| 82 | } |
| 83 | /// Stop the graph, it is equivalent to drop all inputs of the graph |
| 84 | pub fn stop(mut self) { |
| 85 | self.graph.close() |
| 86 | } |
| 87 | /// Run the graph, and return a `JoinHandle`, which can be cancel or wait |
| 88 | pub fn start(&mut self) -> JoinHandle<Result<()>> { |
| 89 | let handle = self |