mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
doc: fix grammar in global dispatcher usage
Add missing preposition "by" to clarify how to change the global dispatcher. PR-URL: https://github.com/nodejs/node/pull/59344 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
09c906ade8
commit
134625d761
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ The dispatcher must be compatible with `undici`'s
|
|||
fetch(url, { dispatcher: new MyAgent() });
|
||||
```
|
||||
|
||||
It is possible to change the global dispatcher in Node.js installing `undici` and using
|
||||
It is possible to change the global dispatcher in Node.js by installing `undici` and using
|
||||
the `setGlobalDispatcher()` method. Calling this method will affect both `undici` and
|
||||
Node.js.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue