Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要生成一组 Futures 并等待它们全部完成,要么失败,要么成功。
最近的 Scala 2.10 不包含类似的东西,或者我确实错过了什么?
用于Future.sequence将许多独立Future的 s 变成一个直到所有这些成分都完成后才会完成的一个。
Future.sequence
Future