My electron application has a problem.Sometimes those callback didn't print at dev tool's console while setTimeout works well.
setImmediate(()=>{
console.log("setImmediate")
})
process.nextTick(()=>{
console.log("nextTick")
})
I read documents about event loop,feel so confused,because if setTimeout can work,means the event loop is alive.And according to the documents,callbacks added by process.nextTick will execute when the event loop begin next iteration. And setImmediate() should work in the event loop,too.