function testFunc() {
async.series([
function(down) {
setTimeout(function(){
down();
}, 10000);
}
],
function() {
return true;
});
};
if(testFunc()) console.log('Result function: true');
else console.log('Result function: false');