Skip to content

Conversation

@fivagod
Copy link

@fivagod fivagod commented Dec 13, 2017

Promise.all can participate in chain like

Promise.all( DataArray.map(MakeSomething:Promise)).then(
        results => {
          return Promise.all(results.map(MakeSomethingAlso));
        }
      ).then(
        results => {
          return Promise.all(results.map(MakeSomethingAlso2:));
        }
      )

PropisePool can't because doesn't resolve any results

@AppVeyorBot
Copy link

Build es6-promise-pool 181 failed (commit f30f906948 by @fivagod)

@timdp
Copy link
Owner

timdp commented Mar 24, 2018

Thanks. I don't think it's a good idea to have this by default though. See #51 for background.

I'd probably accept a PR that makes it opt-in. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants