examples: ensure target stopped by waiting for enter from user
This commit is contained in:
parent
430c80ff2a
commit
df0ea6674a
2 changed files with 10 additions and 0 deletions
|
@ -82,6 +82,11 @@ pub async fn main() -> Result<()> {
|
||||||
|
|
||||||
println!("configurationDone: {:?}", client.configuration_done().await);
|
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?;
|
let threads = client.threads().await?;
|
||||||
println!("threads: {:#?}", threads);
|
println!("threads: {:#?}", threads);
|
||||||
let bt = client
|
let bt = client
|
||||||
|
|
|
@ -84,6 +84,11 @@ pub async fn main() -> Result<()> {
|
||||||
|
|
||||||
println!("configurationDone: {:?}", client.configuration_done().await);
|
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?;
|
let threads = client.threads().await?;
|
||||||
println!("threads: {:#?}", threads);
|
println!("threads: {:#?}", threads);
|
||||||
let bt = client
|
let bt = client
|
||||||
|
|
Loading…
Add table
Reference in a new issue