Possibly bad form, but I went the route of "misusing" resolve and reject. If there was a bad case that had issues, yet needed to be caught by Promise.all(), I returned an object that used the try/catch but searched for a specific flag.
Not the most efficient, but it worked and was easier to implement than rewriting the majority of the project!
Possibly bad form, but I went the route of "misusing"
resolve
andreject
. If there was a bad case that had issues, yet needed to be caught byPromise.all()
, I returned an object that used the try/catch but searched for a specific flag.Not the most efficient, but it worked and was easier to implement than rewriting the majority of the project!
Getting things done FTW~