vapor / async-kit

Sugary extensions for the SwiftNIO library
MIT License
71 stars 25 forks source link

Don't assert when a future in a queued sequence fails #52

Closed gwynne closed 4 years ago

gwynne commented 4 years ago

Currently, if one of the futures appended by EventLoopFutureQueue.append(each:generator:) fails, we fire an incorrect assertion instead of failing the chain correctly. This PR fixes the issue and adds unit tests.

tanner0101 commented 4 years ago

These changes are now available in 1.0.0-beta.2.3