Skip to content

Making BroadcastChannel global #38803

Description

@hsablonniere

Hi wonderful Node.js team!

I was wondering if making BroadcastChannel available 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...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues requesting new Node.js features.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions