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

  1. aduh95 commented on May 25, 2021

    @aduh95
    Contributor

    BroadcastChannel is still documented as experimental, we probably want to wait to have a stable implementation fully compatible with the one exposed by browsers before making it global.
    Pinging @jasnell as he is the one who did the initial implementation.

  2. github-actions commented on Mar 24, 2022

    @github-actions
    Contributor

    There has been no activity on this feature request for 5 months and it is unlikely to be implemented. It will be closed 6 months after the last non-automated comment.

    For more information on how the project manages feature requests, please consult the feature request management document.

  3. added
    staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.
    on Mar 24, 2022
  4. aduh95 commented on Mar 24, 2022

    @aduh95
    Contributor

    Fixed by ce4d3ad.

  5. moved this from Pending Triage to Done in Node.js feature requestson Mar 24, 2022
  6. moved this to Pending Triage in Node.js feature requestson Mar 24, 2022
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