Worker.terminate() terminates the worker and clean up
Worker.terminate() terminates the worker and cleans up
**Arguments:**
- `jobId` Please see details above
```javascript
```javascript
(async () => {
(async () => {
@ -340,7 +336,7 @@ Worker.terminate() terminates the worker and clean up
<aname="create-scheduler"></a>
<aname="create-scheduler"></a>
## createScheduler(): Scheduler
## createScheduler(): Scheduler
createScheduler() is a factory function to create a scheduler, a scheduler manage a job queue and workers to enable multiple workers to work together, it is useful when you want to speed up your performance.
createScheduler() is a factory function to create a scheduler, a scheduler manages a job queue and workers to enable multiple workers to work together, it is useful when you want to speed up your performance.