@mcjxy/task-pool

Easy way to manage a pool of workers, support cluster mode(run tasks in different process), thread mode(run tasks in different thread) and normal mode(run tasks in current thread)!
v1.1.8 URL: https://unpkg.com/@mcjxy/task-pool@1.1.8/index.js
OpenBrowse Files
threadclusterpoolworker_threadsworkersthreadsworkerasynccpu-boundparallelismparallelprocessworker_threadqueuetaskmanagetasksthreadpoolthread-poolclusterpoolcluster-poolworkerpoolworker-pooltaskpooltask-poolmanage-taskstask-manager