examples: ensure target stopped by waiting for enter from user

imgbot
Dmitry Sharshakov 3 years ago
parent 430c80ff2a
commit df0ea6674a

@ -82,6 +82,11 @@ pub async fn main() -> Result<()> {
println!("configurationDone: {:?}", client.configuration_done().await);
let mut _in = String::new();
std::io::stdin()
.read_line(&mut _in)
.expect("Failed to read line");
let threads = client.threads().await?;
println!("threads: {:#?}", threads);
let bt = client

@ -84,6 +84,11 @@ pub async fn main() -> Result<()> {
println!("configurationDone: {:?}", client.configuration_done().await);
let mut _in = String::new();
std::io::stdin()
.read_line(&mut _in)
.expect("Failed to read line");
let threads = client.threads().await?;
println!("threads: {:#?}", threads);
let bt = client

Loading…
Cancel
Save