cujojs / when

A solid, fast Promises/A+ and when() implementation, plus other async goodies.
Other
3.44k stars 396 forks source link

Ensure exceptions can't break reduce #402

Closed briancavalier closed 9 years ago

briancavalier commented 9 years ago

This removes the fast dispatcher that was tailored for reduce in favor of the default, safer dispatcher. There is a tiny perf hit, since the default uses a try/catch and apply(). Unit test derived from @benurb's example in #401.

Fix #401

briancavalier commented 9 years ago

Confirmed fixed by @benurb in #401, merging.