Consider the following array:

```
['123', '456', '789', '000', '111', '222', '333', '444', '555']

```

Now, let's say I want to map every 3 items to a function.

That is, `123`, `456`, `789` would get mapped to a `function () { ... }`.

The next `000`, `111` and `222` would get mapped to another `function () { ... }`

I want to do this because I need to execute batch requests to a database, but the maximum amount of IDs I can request is 25 per batch.

So my goal is to map every 25 items to a function (that will execute a batch request) and then execute each function in parallel using `async.parallel`.

The problem is that I cannot use `map` or `async.map` because that would map **each** item on my array. What I intend to do is map each 25 consecutive items to a single object / function.

Is this possible? 

I'm looking for any JavaScript or NodeJS solution.