Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In Node Web Development [Packt], the author uses a Fibonacci algorithm as an example that could block the event loop.

It outlines one solution where the calculation is split into callbacks dispatched through the event loop, making use of process.nextTick()



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: