When is a Promise not good enough, and I need a Web Worker? - podcast episode cover

When is a Promise not good enough, and I need a Web Worker?

Jan 17, 20256 minSeason 5Ep. 6
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

I just finished Expensive Calculations in React Performance. Why do we need a Web Worker instead of just wrapping the long-running function in a Promise that resolves when the function completes?

When is a Promise not good enough, and I need a Web Worker?
For the best experience, listen in Metacast app for iOS or Android