aantron / promise

Light and type-safe binding to JS promises
MIT License
340 stars 24 forks source link

Parameterized version of `all` #40

Closed malthe closed 5 years ago

malthe commented 5 years ago

The all function should be parameterized such that it can support both list and array.

aantron commented 5 years ago

I think that calls for a new all function, on arrays.

malthe commented 5 years ago

Yeah perhaps arrayAll. I don't know if there's a convention for that; or Repromise.Array.all.