Skip to content

Commit 8efa240

Browse files
blended-bramruyadorno
authored andcommitted
doc: remove unused import from sample code
The `node:path` module is referenced in a code snippet that doesn't actually use it. PR-URL: #55570 Reviewed-By: Raz Luvaton <rluvaton@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 1af3599 commit 8efa240

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

doc/api/async_context.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,6 @@ a Worker pool around it could use the following structure:
626626
```mjs
627627
import { AsyncResource } from 'node:async_hooks';
628628
import { EventEmitter } from 'node:events';
629-
import path from 'node:path';
630629
import { Worker } from 'node:worker_threads';
631630

632631
const kTaskInfo = Symbol('kTaskInfo');

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy