process.tick over setImmediate

PHOTO EMBED

Thu Jan 28 2021 13:11:07 GMT+0000 (UTC)

Saved by @noobj

setImmediate(() => console.log('I run immediately'))
process.nextTick(() => console.log('But I run before that'))
content_copyCOPY