Skip to content

Commit 8341916

Browse files
JuneezeeRafaelGSS
authored andcommitted
doc: fix grammar in global dispatcher usage
Add missing preposition "by" to clarify how to change the global dispatcher. PR-URL: #59344 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent e3e4897 commit 8341916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/globals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ The dispatcher must be compatible with `undici`'s
537537
fetch(url, { dispatcher: new MyAgent() });
538538
```
539539

540-
It is possible to change the global dispatcher in Node.js installing `undici` and using
540+
It is possible to change the global dispatcher in Node.js by installing `undici` and using
541541
the `setGlobalDispatcher()` method. Calling this method will affect both `undici` and
542542
Node.js.
543543

0 commit comments

Comments
 (0)