3 ms·
Very well said. Complementing your answer, I'd also like to point out that another notable guarantee that promises give us is that their continuations are neve
by henriqueinonhe 3y ago
Very well said.
Complementing your answer, I'd also like to point out that another notable guarantee that promises give us is that their continuations are never executed synchronously (even when they could), which prevents the problem described by https://blog.izs.me/2013/08/designing-apis-for-asynchrony/ https://blog.izs.me/2013/08/designing-apis-for-asynchrony/.