()
| 742 | async.iterator = function (tasks) { |
| 743 | function makeCallback(index) { |
| 744 | function fn() { |
| 745 | if (tasks.length) { |
| 746 | tasks[index].apply(null, arguments); |
| 747 | } |
| 748 | return fn.next(); |
| 749 | } |
| 750 | fn.next = function () { |
| 751 | return (index < tasks.length - 1) ? makeCallback(index + 1): null; |
| 752 | }; |
no outgoing calls
no test coverage detected