Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
doc: sentence fix in worker_threads
Co-authored-by: Antoine du Hamel <[email protected]>
  • Loading branch information
krutoo and aduh95 authored Dec 27, 2021
commit 23ed378e5993913f76fa8e8e02eaf13df362070e
2 changes: 1 addition & 1 deletion doc/api/worker_threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if (isMainThread) {
```

The above example spawns a Worker thread for each `parseJSAsync()` call. In
actual practice, use a pool of Workers for these kinds of tasks. Otherwise, the
practice, use a pool of Workers for these kinds of tasks. Otherwise, the
overhead of creating Workers would likely exceed their benefit.

When implementing a worker pool, use the [`AsyncResource`][] API to inform
Expand Down