async-book icon indicating copy to clipboard operation
async-book copied to clipboard

该书是中文 Rust 教程 <<Rust语言圣经>> 中的镜像专题,高质量手翻 Asynchronous Programming in Rust, 深入讲述了如何编写 Rust 高并发异步程序

Results 1 async-book issues
Sort by recently updated
recently updated
newest added

作为 golang 程序员,我知道可以用 done channel 或 context 将 goroutine 关闭,以防止 goroutine 的泄漏。 如果一个 rust 程序中有大量的 async 并行,程序员忘记 close() 或 join() 势必会造成 async 泄漏。rust 是如何避免这种情况的?