diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 73cd29538da91f..e2b165ce0e8b1f 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -47,7 +47,7 @@ if (isMainThread) { } ``` -The above example spawns a Worker thread for each `parse()` call. In actual +The above example spawns a Worker thread for each `parseJSAsync()` call. In practice, use a pool of Workers for these kinds of tasks. Otherwise, the overhead of creating Workers would likely exceed their benefit.