AvianFlu / ncp

Asynchronous recursive file copying with Node.js.
MIT License
681 stars 103 forks source link

What is setImmediate? #112

Closed prettydiff closed 7 years ago

prettydiff commented 7 years ago

https://github.com/AvianFlu/ncp/blob/master/lib/ncp.js#L54

I can see setImmediate used once in the code, but it isn't declared anywhere.

crissdev commented 7 years ago

@prettydiff https://nodejs.org/api/timers.html#timers_setimmediate_callback_args

prettydiff commented 7 years ago

Thanks @crissdev