@chainsafe/threads
Web workers & worker threads as simple as a function call
Web workers & worker threads as simple as a function call
Node.js Atomic thread safe tools
Z-IPC is an easy-to-use, extensible and fully type-safe IPC solution for JavaScript environments.
Run multiple webpack configurations parallel (using worker_threads underhood)
工作线程方法包装
Web workers & worker threads as simple as a function call
Web workers & worker threads as simple as a function call
Lakutata Framework Core
Wrapper for Node's Workers, easily define methods and share them between main thread and worker.
Consistent Web Workers in browser and Node.
Consistent Web Workers in browser and Node.
Consistent Web Workers in browser and Node.js
Run your CPU intensive functions in a separate thread on the fly, and keep your application running at 60FPS.
Web workers & worker threads as simple as a function call
Call another threads as simple as a function call
基于nodejs worker_threads的线程池。耗时操作或nodejs没有提供异步模式的api(例如解密、同步的文件api)都可以在线程池中执行,业务代码只需要返回一个Promise或async函数给线程池库,至于业务逻辑做什么操作,其实都可以,比如setTimeout,异步操作,async await等
simplified cross worker API for web workers and worker threads
Consistent Web Workers in browser and Node.
Web workers & worker threads as simple as a function call
Web workers & worker threads as simple as a function call