use tokio::sync::mpsc; #[tokio::main] async fn main() { // 最大 32 のキャパシティをもったチャネルを作成 let (tx, mut rx) = mpsc::channel(32) ...
確定! 回上一頁