I'm working on the final tutorial, "Offloading The Work".
My solution fails if my delay is invoked as follows with provided code:
addon.delay(process.argv[2], function() {
clearInterval(interval)
console.log('Done!')
})
By making the callback non-anonymous, the solution passes:
addon.delay(process.argv[2], function callback() {
clearInterval(interval)
console.log('Done!')
})