JavaScript Jabber cover image

Partytown with Adam Bradley - JSJ 550

JavaScript Jabber

00:00

Web Workers - How to Block Threads

Web workers are blocked. The main thread ofvosy is not. That still works with post messages between the service worker and the main thread. But until the response arrives, that web worker is blocked. And consequently, the third partyscripts, which expect things to be syncronous,. They just potentially take a long time to respond. What do you care? Anes where harton is really ideal for thir pescripts thatare largely a syncrons. Makino gogan lixss is a great example of this, where it's kind of just a background task that can be masincesd.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app