mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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: https://github.com/nodejs/node/pull/55570 Reviewed-By: Raz Luvaton <rluvaton@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
1 parent
2cd939cb95
commit
a1b26608ae
1 file changed
-1
@@ -626,7 +626,6 @@ a Worker pool around it could use the following structure:
|
||||
```mjs
|
||||
import { AsyncResource } from 'node:async_hooks';
|
||||
import { EventEmitter } from 'node:events';
|
||||
import path from 'node:path';
|
||||
import { Worker } from 'node:worker_threads';
|
||||
|
||||
const kTaskInfo = Symbol('kTaskInfo');
|
||||
|
||||
Reference in new issue
Block a user