theanarkh
Results
9
repositories owned by
theanarkh
nodejs-threadpool
55
Stars
17
Forks
Watchers
基于nodejs worker_threads的线程池。耗时操作或nodejs没有提供异步模式的api(例如解密、同步的文件api)都可以在线程池中执行,业务代码只需要返回一个Promise或async函数给线程池库,至于业务逻辑做什么操作,其...