Install
openclaw skills install @bovinphang/fec-web-workersUse when moving expensive browser work off the main thread with Web Workers, SharedWorker, worker pools, Comlink, transferable objects, Vite/Webpack worker integration, or UI responsiveness fixes. Do not use for lightweight synchronous work or DOM manipulation; Chinese triggers include Web Worker, b
openclaw skills install @bovinphang/fec-web-workersMove expensive calculations off the main thread and keep input, scrolling, and animations responsive.
postMessage for simple tasks, use Comlink for functional RPC, use Worker pool for a large number of parallel small tasks, and use SharedWorker for cross-Tab synchronization.terminate() when a component or page is unloaded and verify main thread improvements through Profiler, Performance panel or FPS metrics.window, document, alert() or synchronize localStorage within Worker.worker-src CSP restrictions.Computationally intensive operations are performed on a background thread, main thread input and scrolling resume smoothly, error and cancellation paths are clear, and workers are terminated on unloading without memory leaks.