Unlimited WordPress themes, graphics, videos & courses! Unlimited asset downloads! From $16.50/m
Crs 39959
  • Overview
  • Transcript

2.12 Spawning

As we now know, Node (like the browser) runs in a single thread. This means that, if we are running some code that is very processor intensive, then it can delay and slow down other executing code. Sometimes, it can be necessary to spawn additional processes to do some intensive work for us. For this lesson, we are going to spawn processes to collect Twitter data for some different topics.