+ All Categories
Home > Internet > JavaScript Performance 20160723

JavaScript Performance 20160723

Date post: 12-Apr-2017
Category:
Upload: kamiyam-
View: 187 times
Download: 0 times
Share this document with a friend
57
Transcript

getSearchResult(id){ return new Promise(function(resolve, reject){ var procId = null; var command = "labellio_classify " + __dirname + '/../../learning/model ' + __dirname + '/../../learning/search/'+ id;

var connect = exec(command, function (error, stdout, stderr){

…( )

return resolve(data);});

});}


Recommended