Skip to content

Commit 2bfd60b

Browse files
andreysoktoevdanielleadams
andreysoktoev
authored andcommitted
doc: fix "task_processor.js" typo
PR-URL: #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>
1 parent a186a4d commit 2bfd60b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/async_context.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ export default class WorkerPool extends EventEmitter {
593593
}
594594

595595
addNewWorker() {
596-
const worker = new Worker(new URL('task_processer.js', import.meta.url));
596+
const worker = new Worker(new URL('task_processor.js', import.meta.url));
597597
worker.on('message', (result) => {
598598
// In case of success: Call the callback that was passed to `runTask`,
599599
// remove the `TaskInfo` associated with the Worker, and mark it as free

0 commit comments

Comments
 (0)