Worker.terminate() terminates the worker and clean up
**Arguments:**
- `jobId` Please see details above
Worker.terminate() terminates the worker and cleans up
```javascript
(async () => {
@ -340,7 +336,7 @@ Worker.terminate() terminates the worker and clean up
@@ -340,7 +336,7 @@ Worker.terminate() terminates the worker and clean up
<aname="create-scheduler"></a>
## 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.