denoland/deno

Support cross process BroadcastChannel

lucacasonato opened this issue · 2 comments

Follow-up to #10354

This will require some prerequisite work:

  • handle origin scoping correctly, and add origin as property of message
  • figure out how to do IPC between processes - likely the best way would be a unix socket (also supported on windows now).

BroadcastChannel should be ready for stabilization after this.

I know the node compat stuff swooped in and took over priority - but I would still love to see this available in Deno some day!

@johnspurlock Me too :) So while we wait for a proper implementation, I made a polyfill for BroadcastChannel in deno cli: https://deno.land/x/websocket_broadcastchannel