From 2bfd60b06f5069b07dd04a82496dfcb72505ec6a Mon Sep 17 00:00:00 2001 From: andreysoktoev Date: Thu, 3 Nov 2022 08:51:44 +0800 Subject: [PATCH] doc: fix "task_processor.js" typo PR-URL: https://github.com/nodejs/node/pull/45257 Reviewed-By: Luigi Pinca Reviewed-By: theanarkh Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Rich Trott Reviewed-By: Darshan Sen --- doc/api/async_context.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/async_context.md b/doc/api/async_context.md index 8f79c7364485c1..0f60ca078fe53f 100644 --- a/doc/api/async_context.md +++ b/doc/api/async_context.md @@ -593,7 +593,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