Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreysoktoev <andrey.soktoev@gmail.com>2022-11-03 03:51:44 +0300
committerGitHub <noreply@github.com>2022-11-03 03:51:44 +0300
commitcc5adc2d3b30516ad758b9c6b93beb6c75098d26 (patch)
tree9d430ed5bb95360a342d08cc9f40f1639d974858
parent070e111c6578e1e18a29a027d564a958e1a762e2 (diff)
doc: fix "task_processor.js" typo
PR-URL: https://github.com/nodejs/node/pull/45257 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: theanarkh <theratliter@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
-rw-r--r--doc/api/async_context.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/async_context.md b/doc/api/async_context.md
index 22cb77221e7..a41b73ce676 100644
--- a/doc/api/async_context.md
+++ b/doc/api/async_context.md
@@ -597,7 +597,7 @@ export default class WorkerPool extends EventEmitter {
}
addNewWorker() {
- const worker = new Worker(new URL('task_processer.js', import.meta.url));
+ const worker = new Worker(new URL('task_processor.js', import.meta.url));
worker.on('message', (result) => {
// In case of success: Call the callback that was passed to `runTask`,
// remove the `TaskInfo` associated with the Worker, and mark it as free