|
|
@ -11,6 +11,7 @@ struct LaunchArguments {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
async fn output(mut output_event: Receiver<Event>) {
|
|
|
|
async fn output(mut output_event: Receiver<Event>) {
|
|
|
|
|
|
|
|
loop {
|
|
|
|
let body: OutputEventBody =
|
|
|
|
let body: OutputEventBody =
|
|
|
|
from_value(output_event.recv().await.unwrap().body.unwrap()).unwrap();
|
|
|
|
from_value(output_event.recv().await.unwrap().body.unwrap()).unwrap();
|
|
|
|
println!(
|
|
|
|
println!(
|
|
|
@ -18,6 +19,7 @@ async fn output(mut output_event: Receiver<Event>) {
|
|
|
|
body.category.unwrap_or("unknown".to_owned()),
|
|
|
|
body.category.unwrap_or("unknown".to_owned()),
|
|
|
|
body.output
|
|
|
|
body.output
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#[tokio::main]
|
|
|
|
#[tokio::main]
|
|
|
|