split(); let producer = async move { for i in 0..100 { tx.send(i).await.expect("consumer still alive"); } }; let consumer = async move { let mut expected = 0; ...
確定! 回上一頁