Last active
July 22, 2016 14:36
-
-
Save EugeneKostrikov/390f9d4350647829ff8bba54446a5428 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var async = require('async'); | |
async.parallel([ | |
function(done){ | |
while(true){} | |
}, | |
function(done){ | |
console.log('second running'); | |
setInterval(function(){ | |
console.log('second interval running'); | |
}, 1000); | |
} | |
], function(){ | |
console.log('done'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment