Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Promise = require('bluebird')
- function test () {
- setImmediate(function(){console.log('setImmediate')})
- Promise.try(function(){console.log('try')})
- process.nextTick(function(){console.log('nextTick')})
- console.log('end!')
- }
- test()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement