Cl 杂记
原来 tokio 的 channel 并不是 std::sync::mpsc::channel 的完全异步版本... 比如 tokio channel 的 Receiver<T> 就没有实现 IntoIter 方法... 上网查了一圈发现: github.com/tokio-rs/tokio/issues/2401 原来还有 futures::stream::FuturesUnorderd 这种东西 似乎完美解决了汇聚一系列子任务的需求🤣 不过还得仔细研究在上面直接 futures::future::join_all…
法师:“有没有一种可能,异步的 Iter 叫 Stream”
我:“🤡诶?”
我:“🤡诶?”
Forwarded from 简中赛博坟场
有关美国人权问题的讨论截图被删除。 #微博存档
原文可见🔗 https://web.archive.org/web/20220414005653/https://m.weibo.cn/status/4758043650688198
原文可见🔗 https://web.archive.org/web/20220414005653/https://m.weibo.cn/status/4758043650688198