3 ms·
Web workers are isolated. They can only do computations and return results asynchronously to the main thread. You can't use a web worker as a DOM event handler.
by iainmerrick 9y ago
Web workers are isolated. They can only do computations and return results asynchronously to the main thread. You can't use a web worker as a DOM event handler.