workerize
worker-timers
workerize | worker-timers | |
---|---|---|
1 | 2 | |
4,339 | 535 | |
- | - | |
0.0 | 9.6 | |
about 3 years ago | 6 days ago | |
JavaScript | JavaScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
workerize
-
Consistently responsive apps while staying on the main thread
Here are a couple attempts at doing just that.
worker-timers
- Games that stop when you minimize them - big deal or not?
-
What do you guys use for game loop?
requestAnimationFrame intentionally pauses in the background, so if you want your game to run while it is in background tab, I suggest checking out webworker. https://github.com/chrisguttandin/worker-timers
What are some alternatives?
partytown - Relocate resource intensive third-party scripts off of the main thread and into a web worker. ๐
audio-context-timers - A replacement for setInterval() and setTimeout() which works in unfocused windows.
comlink - Comlink makes WebWorkers enjoyable.
threads.js - ๐งต Make web workers & worker threads as simple as a function call.
typed-json-rpc - Simple, statically typed and ergonomic way to do async communications (events, workers, http requests) with json-rpc
workerize-loader - ๐๏ธ Automatically move a module into a Web Worker (Webpack loader)
workly - A really simple way to move a function or class to a web worker. ๐๏ธโโ๏ธโ ๐
workerpool - Offload tasks to a pool of workers on node.js and in the browser
worker-dom - The same DOM API and Frameworks you know, but in a Web Worker.
clooney - Clooney is an actor library for the web. Use workers without thinking about workers.
wp-partytown - Add partytown support to WordPress sites.
promise-workers