From df9e30c5e24429a5f88a26269bc1f069774eeb59 Mon Sep 17 00:00:00 2001 From: Blended Bram Date: Mon, 28 Oct 2024 11:34:38 +0100 Subject: [PATCH] Remove unused import from sample code The `node:path` module is referenced in a code snippet that doesn't actually use it. --- doc/api/async_context.md | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/api/async_context.md b/doc/api/async_context.md index d1be2fb3807e17..6b018bc9d4e292 100644 --- a/doc/api/async_context.md +++ b/doc/api/async_context.md @@ -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');