1.0.1 • Published 3 years ago

ktk-webworker v1.0.1

Weekly downloads
3
License
MIT
Repository
-
Last release
3 years ago

About The Project

Personal toolkit for webworker pool.

Install

npm i ktk-webworker

Usage

//init, count of workers is equal to computer cores  
const url = 'Worker.js'; //path of worker
const wp = WorkerPool.getInstance(url);  

//execute
wp.dispatch(data).then(res=>handle(res));
1.0.1

3 years ago

1.0.0

3 years ago