Skip to content

Commit

Permalink
Add code for async
Browse files Browse the repository at this point in the history
  • Loading branch information
nlpist committed Oct 15, 2015
1 parent c582c6c commit 31e51ee
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions features/CollectionOfExtractors.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,18 @@ module.exports = function(extractors) {
}
}


//var async = require('async');
/*
module.exports = function(extractors) {
return function(sample, features, stopwords, callback){
async.eachSeries(extractors, function(extractor, callback1){
extractor(sample, features, stopwords, function(err, result){
callback1()
})
}, function(err){
callback()
})
}
}
*/

0 comments on commit 31e51ee

Please sign in to comment.