-
-
Notifications
You must be signed in to change notification settings - Fork 37.2k
Making BroadcastChannel global #38803
Copy link
Copy link
Closed
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.
Description
Activity
Metadata
Metadata
Assignees
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.
Hi wonderful Node.js team!
I was wondering if making
BroadcastChannelavailable as a global variable was considered.I'm working on a project where I created a class that composes a BroadcastChannel, some kind of layer on top of it. I need this on both client AND server side. Right now, I need a Node.js version with
import { BroadcastChannel } from 'worker_threads'and a browser version that can rely on global.Thanks...