I have a flow where I need to make a total of 4 calls which returns promises. The first promise returns some info which I need to process and then use in the next promise. After that one resolves, I can run the other two in parallel, but again need to pass the data from the first promise resolve to them.How can I do this? And how can I do the parallel processing? I've looked at Promise.all(), and I think I know how to use it, but if there's a better way, please point me to it.Thanks!
Submitted May 19, 2020 at 12:18AM by tossel_54501
No comments:
Post a Comment