1 min read

Worker Threads in JavaScript?

Paul Kinlan

Paul Kinlan

Lead of Chrome DevRel

Does anyone know if it is possible to simulate worker threads in JavaScript. I need a method of constantly polling a particular resource and dispatching events based on conditions in that resource.

Currently I am thinking that I will have to have methods triggered off timers. Is this acceptable?

Stay in the loop.

I'm trialing a newsletter. Join for monthly insights into web dev, Chrome, and the open web.

alternate_email

Get in touch

Open to chat about Chrome or Web development.

Book a consultation