✨ Socket passing works!
This commit is contained in:
parent
606800a711
commit
dedfb57285
3 changed files with 32 additions and 5 deletions
|
|
@ -41,9 +41,11 @@ async fn main() -> Result<()> {
|
|||
}
|
||||
}
|
||||
});
|
||||
let env_vars = env_rx
|
||||
.await
|
||||
.expect("failed to receive environmental variables");
|
||||
// let env_vars = env_rx
|
||||
// .await
|
||||
// .expect("failed to receive environmental variables");
|
||||
tokio::time::sleep(std::time::Duration::from_millis(100)).await;
|
||||
let env_vars = Vec::new();
|
||||
info!("got environmental variables: {:?}", env_vars);
|
||||
|
||||
let mut sockets = Vec::with_capacity(2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue