nodejs-threadpool
nodejs-threadpool copied to clipboard
基于nodejs worker_threads的线程池。耗时操作或nodejs没有提供异步模式的api(例如解密、同步的文件api)都可以在线程池中执行,业务代码只需要返回一个Promise或async函数给线程池库,至于业务逻辑做什么操作,其...
Results
1
nodejs-threadpool issues
Sort by
recently updated
recently updated
newest added
feat: 补齐类型声明文件,index.js增加暴露threadPool中的8个类,可简写成const { ThreadPool } = require('nodejs-threadpool')