mirror of https://github.com/nodejs/node.git
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>pull/56045/head
parent
5ae07d0717
commit
e64f9496c0
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue