← Quit0 / 0 correct
What happens to the losing branches in tokio::select!?
tokio::select! {
msg = rx.recv() => handle(msg),
_ = sleep(Duration::from_secs(1)) => timeout(),
}What happens to the losing branches in tokio::select!?
tokio::select! {
msg = rx.recv() => handle(msg),
_ = sleep(Duration::from_secs(1)) => timeout(),
}