概要
This skill enables developers to implement robust multithreading patterns in JavaScript and TypeScript environments, focusing on offloading heavy computations from the main thread to ensure smooth UI performance. It provides patterns for managing worker pools, handling typed array transfers for zero-copy data movement, and managing concurrency with hardware-aware scaling. Whether building complex simulations, data processing pipelines, or high-performance graphics, this skill ensures thread safety and efficient resource utilization while maintaining the main thread as the authoritative source of truth for DOM and state management.