(callback)
| 24483 | var async = require_async(); |
| 24484 | module2.exports = terminator; |
| 24485 | function terminator(callback) { |
| 24486 | if (!Object.keys(this.jobs).length) { |
| 24487 | return; |
| 24488 | } |
| 24489 | this.index = this.size; |
| 24490 | abort(this); |
| 24491 | async(callback)(null, this.results); |
| 24492 | } |
| 24493 | } |
| 24494 | }); |
| 24495 |