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 RafaelGSS committed Nov 10, 2022
1 parent 9d15da3 commit 7d7e7c3
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 @@ -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
Expand Down

0 comments on commit 7d7e7c3

Please sign in to comment.