Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add link to node terminate description #22

Merged
merged 3 commits into from Oct 1, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions GUIDE.md
Expand Up @@ -127,7 +127,7 @@ Achieving the same result can be done by passing the context object:
})()
```

## Graceful shutdown
## Forceful shutdown
When you don't need microjob anymore, you can shut it down with the `stop` function:

```js
Expand All @@ -153,4 +153,4 @@ When you don't need microjob anymore, you can shut it down with the `stop` funct
})()
```

`stop` ensures that every worker of the worker pool is terminated.
`stop` ensures that every worker of the worker pool is [terminated](https://nodejs.org/api/worker_threads.html#worker_threads_worker_terminate_callback).