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>
This commit is contained in:
andreysoktoev authored and Danielle Adams committed 2023-01-03 08:38:34 -05:00
1 parent a186a4d7ef
commit 2bfd60b06f
1 file changed
+1 -1
+1 -1
View File
@@ -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