|
|
|
|
|
by TheLogothete
3749 days ago
|
|
Yeah man. I've never heard of those. They sound like the best thing since sliced bread. Only if they could access the DOM... Seriously... what are you even talking about? Why do you even mention them? You read single threaded and thought "Quick, I must come up with an answer! I can't let a stranger on the Internet change my opinion!"? |
|
Web Workers are exactly this model, applied to the web. It's a dispatch queue running inside a threadpool. To update the DOM, you postMessage back to the UI thread and make your modifications there.
Are you willing to let a stranger on the Internet change your opinion?