diff --git a/doc/api/globals.md b/doc/api/globals.md index 1d9ea55f99a..7d272e127ce 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -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.