You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- use dora_node_api::DoraNode;
- use std::error::Error;
-
- fn main() -> Result<(), Box<dyn Error>> {
- let mut node = DoraNode::init_from_env()?;
- let inputs = node.inputs()?;
-
- while let Ok(input) = inputs.recv() {
- match input.id.as_str() {
- other => eprintln!("Received input `{other}`"),
- }
- }
-
- Ok(())
- }
|