We should wait until all conditions are met no matter the ordering. We need to be as close as possible to real-world business rules. If the rule states we need to wait for ALL operations, we should not force a particular order.

1m read timeFrom levelup.gitconnected.com
Post cover image
Table of contents
Code Smell 155 — Multiple PromisesProblemsSolutionsContextSample CodeDetectionTagsConclusionCredits

Sort: