briancavalier / creed

Sophisticated and functionally-minded async with advanced features: coroutines, promises, ES2015 iterables, fantasy-land
https://briancavalier.github.io/creed
MIT License
273 stars 20 forks source link

Fix subtle unhandledRejection case #84

Closed briancavalier closed 8 years ago

briancavalier commented 8 years ago

Fix subtle unhandledRejection case for iterables that reject when encountering the first input rejection (merge, all, race). This bug could cause a spurious unhandledRejection under specific conditions.

Rename vars and params in ErrorHandler to be more intuitive.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 00eb7e29adca52c6e3eeaeefe77808681d8d8ba3 on fix-race-merge-unhandled-rejection-case into 81219b4cf4e66006549ba2e3ce5114320e1bdd70 on master.