Skip to content

Commit 7d7e7c3

Browse files
andreysoktoevRafaelGSS
andreysoktoev
authored andcommitted
doc: fix "task_processor.js" typo
PR-URL: #45257 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: theanarkh <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent 9d15da3 commit 7d7e7c3

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
@@ -597,7 +597,7 @@ export default class WorkerPool extends EventEmitter {
597597
}
598598

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

0 commit comments

Comments
 (0)