2 ms·
In Javascript, this is a typical rookie mistake. Every newcomer would do it once, get lectured about `Promise.all` in code review, and move on. Honestly, I'd b
by littlestymaar 6y ago
In Javascript, this is a typical rookie mistake. Every newcomer would do it once, get lectured about `Promise.all` in code review, and move on.
Honestly, I'd be really surprised if this was a common practice in C#.
- baby 6y agoRust doesn’t allow you to do this.
- littlestymaar 6y agoWhat makes you think so? From a quick ddg search, it looks it does: https://docs.rs/futures/0.3.8/futures/macro.join.html https://docs.rs/futures/0.3.8/futures/macro.join.html
- imtringued 6y agoAll you have to do is wrap multiple futures into a single one and then await on the combined one. There is no programming language on earth that can prevent this.