lib/api/encodeSummary.js
function (iter) {
            summary.getArticle(function(article) {
                var jsonArticle = encodeSummaryArticle(article, false);

                return iter(jsonArticle);
            });
        }
function (iter) {
            summary.getArticle(function(article) {
                var jsonArticle = encodeSummaryArticle(article, false);

                return iter(jsonArticle);
            });
        }
function ( iter ) { summary . getArticle ( function ( article ) { var jsonArticle = encodeSummaryArticle ( article , false ) ; return iter ( jsonArticle ) ; } ) ; }
Iterate over the summary, it stops when the "iter" returns false

@param {Function} iter
Iterate over the summary it stops when the iter returns false