Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/erozx/js-multi-thread-request


https://github.com/erozx/js-multi-thread-request

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# How to use?
```js
// make the object
const task = new RequestWorker(task_id,task_url,task_name,executeOnUpdate);

// start the worker
task.start();

// stop the worker
task.stop();

// list all current running task
RequestWorker.listRunningTasks();

// stop specific running task
RequestWorker.stopTask(task_id,task_url,task_name);
```