1 个仓库
Executing JavaScript modules in parallel background workers to avoid blocking the main execution thread.
Distinct from Asynchronous Module Loading: Focuses on parallel execution within workers rather than just the asynchronous loading of the modules.
Explore 1 awesome GitHub repository matching web development · Parallel Worker Execution. Refine with filters or upvote what's useful.
Workerize 是一个 Web Worker 模块加载器和主线程卸载器。它作为一个异步代理包装器,允许 JavaScript 模块在后台 Worker 中运行,通过将计算密集型任务委托给单独的线程来防止浏览器 UI 冻结。 该项目利用基于代理的接口来调用后台 Worker 内部的函数,就像它们是本地异步调用一样。这种机制使得能够在并行 Worker 中执行模块,以保持主线程的响应性。 该系统涵盖了异步模块执行和 Web Worker 集成,专注于通过将繁重逻辑移出主执行线程来优化主线程。
Runs JavaScript modules in parallel workers using proxies to handle background execution without blocking the UI.