GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: remove unused imports from worker_threads.md · nodejs/node@af99ba3

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • worker_threads.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/worker_threads.md‎

Copy file name to clipboardExpand all lines: doc/api/worker_threads.md
-4Lines changed: 0 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,8 @@ the last one will try to communicate with the main thread.
290290

291291
```mjs
292292
import { fileURLToPath } from 'node:url';
293-
import { once } from 'node:events';
294293
import process from 'node:process';
295294
import {
296-
isMainThread,
297295
postMessageToThread,
298296
threadId,
299297
workerData,
@@ -328,9 +326,7 @@ channel.onmessage = channel.close;
328326
```
329327
330328
```cjs
331-
const { once } = require('node:events');
332329
const {
333-
isMainThread,
334330
postMessageToThread,
335331
threadId,
336332
workerData,

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.