
Season 5 · Episode 6
When is a Promise not good enough, and I need a Web Worker?
David asked this on 2025-01-17
January 17, 20255m 40s
Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
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?Topics
Web WorkerPromise