Support cross process BroadcastChannel
lucacasonato opened this issue · 2 comments
lucacasonato commented
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.
johnspurlock commented
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!
hugojosefson commented
@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