To add to previous reply, there are some online references that use async/await which I would prefer to avoid because I’m trying to stick to using Promises directly. Also the two patterns I’ve seen so far both rely on the use of a promise factory.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Execute parts of code by sequence that we want | 1 | 461 | September 12, 2018 | |
| Advanced promise chain not working | 9 | 295 | May 30, 2019 | |
| How to properly put query calls in sequential order (Might be an async task) | 0 | 272 | December 18, 2018 | |
| Promises, Promises | 10 | 4871 | August 10, 2021 | |
| Have db calls perform asynchronously | 6 | 328 | October 8, 2017 |