Skip to content

Commit 9af8bce

Browse files
Juneezeeaduh95
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 0edf171 commit 9af8bce

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
@@ -515,7 +515,7 @@ The dispatcher must be compatible with `undici`'s
515515
fetch(url, { dispatcher: new MyAgent() });
516516
```
517517

518-
It is possible to change the global dispatcher in Node.js installing `undici` and using
518+
It is possible to change the global dispatcher in Node.js by installing `undici` and using
519519
the `setGlobalDispatcher()` method. Calling this method will affect both `undici` and
520520
Node.js.
521521

0 commit comments

Comments
 (0)