miquido / futura

Asynchronous Swift made easy. The project was made by Miquido. https://www.miquido.com/
Apache License 2.0
33 stars 3 forks source link

Zip of empty array #29

Closed anapotempa closed 5 years ago

anapotempa commented 5 years ago

Hi, I encountered a problem, when you try to zip empty array of Futures, it gets cancelled. Instead It should return Future succeeded with empty array.

kaqu commented 5 years ago

Thanks for reporting, there is a bug in zip implementation when passing empty arrays. Will be fixed soon 😄

kaqu commented 5 years ago

Fixed