@fastcar/workerpool
工作线程方法包装
工作线程方法包装
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.
Magical RPC proxy
A lightweight tool built on top of Node.js worker_threads, enabling multithreading.
Lib for shared data transfer between streams
A node.js worker_thread that runs once, can load modules and returns stdout
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
Call another threads as simple as a function call
基于nodejs worker_threads的线程池。耗时操作或nodejs没有提供异步模式的api(例如解密、同步的文件api)都可以在线程池中执行,业务代码只需要返回一个Promise或async函数给线程池库,至于业务逻辑做什么操作,其实都可以,比如setTimeout,异步操作,async await等
one proxy for request ai site