Skip to content

Commit

Permalink
doc: fix "task_processor.js" typo
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
andreysoktoev authored and danielleadams committed Jan 3, 2023
1 parent a186a4d commit 2bfd60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/async_context.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2bfd60b

Please sign in to comment.