3 ms·
Wait, what are Web-workers then?
by Ygg2 14y ago
Wait, what are Web-workers then?
- cwmma 14y agofor opening up a new separate thread, that you can only communicate through message passing. It's not part of the core language but the browser library hence why you can't use them in Node.
- rictic 14y agoThey're also more directly comparable to processes than threads, as they do not share memory (though there are a couple of proposals to allow them to).