web-worker
Asynchronous POST request from a Firefox's web worker
I am trying to make an asynchronous request with POST method from a web worker used in my extension. The thing is that it does not work for me.[详细]
2023-01-14 10:45 分类:问答Does it make sense to use Web Workers for a game?
I am working on a game that has AI logic, movement, etc and drawing. Does it make sense to calculate moving and AI logic using Web Workers? But how do I do that -- because the workers need to know so[详细]
2023-01-10 12:58 分类:问答Get number of CPU cores in JavaScript?
Is there a way to determine the number of available CPU cores in JavaScript, so that you could adjust 开发者_Python百科the number of web workers depending on that?Yes. To quote MDN:[详细]
2023-01-08 05:41 分类:问答Race-condition with web workers when setting onmessage handler?
Please consider the following code and the explanation from this Mozilla tutorial \"Using web workers\":[详细]
2023-01-06 10:22 分类:问答Web Workers and Sparklines
I know that Web Workers don\'t have access to the DOM, but I was wondering if there was any way they could render a Sparkline graph behind the scenes and pass it back. If not, is there ANY way I could[详细]
2023-01-06 04:06 分类:问答Web workers - How do they work?
I\'m trying to understand this example: HTML (main code): <html> <title>Test threads fibonacci</title>[详细]
2022-12-31 04:51 分类:问答What are the use-cases for Web Workers? [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. 开发者_如何学Python[详细]
2022-12-29 00:53 分类:问答Web Workers and Canvas
Are web wo开发者_JAVA百科rkers allowed to access a canvas object?Small update, as the question is now more than half a year old:[详细]
2022-12-13 16:34 分类:问答