Adding working version of mapLimit #202

merged 3 commits into from Jan 31, 2013


None yet

4 participants


Fixes #184.


I have fixed the unit test for mapLimit in #205, as well as introduced parallelLimit. The unit test was doing a batch size of 2 over an array of [1, 3, 2]. The iterator function sleeps for n*25. So, task 1 would finish first, and then task 2 would be started. Task 3 and 2 would finish at nearly the same time - leading to intermittent test failures. This has been fixed in #205.

@caolan caolan merged commit d2903ab into caolan:master Jan 31, 2013
@brianmaissy brianmaissy referenced this pull request Feb 5, 2013

mapLimit! #184


👏 👏 👏 hooray!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment