When using BroadcastChannel api, in the background does deno send the broadcast to every instance or only instance that shares the same channel ? For example if I have a million running websocket clients, each listening to a unique channel then I send a message to a specific channel name will all the million instances get the request but ignore it or only the one with the same channel name ?
the short answer is, only the one with the same channel name I had the same question a while back and luca confirmed this behavior let me see if I can try to find it
Support cross process BroadcastChannel · Issue #10750 · denoland/de...
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...
this is the issue tracking it

Looking for more? Join the community!

Recommended Posts
Is it possible to create a TCP server on Deno Deploy?Is it possible to create a TCP server on Deno Deploy?oak server can't accept requests from another server?hi, I'm trying out deno with oak to make a simple server. I set up cors(x/cors), it accepts requestsaddEventListener for keydown in terminal via deno?Is there something like `addEventlistener("keydown")` in deno, so i can capture terminal inputs?Deno KV Type ErrorWhen I run await (await kv.get<typeThing>(["example"])).id (the value is an object), it returns a tyHow to improve seo ?https://deno.land/x/blog My question is when you use tool like this that work with md, how can i do Hashbang with TS file (without .ts extension)Hi y'all, I have a few convenience scripts written in Typescript for Deno that all have a wrapper scAstro + Deno - Remote ImportsFirst of all thanks a lot for the nice template, it looks great !! I followed the guide posted hereDebugging test in VSCode always breaks on line 54 of colors.tsWhen debugging tests in VSCode the debugger always breaks on line 54 of colors.ts. This behavior is Building from `src` offline?Hey guys! I'm new to Deno (and web dev as well to be honest), so could you help me here please. I'Any plan to fix Deno.listenTls() timing out a WebSocket connection?Any plan to fix Deno.listenTls() timing out a WebSocket connection? ``` {code: 1001, reason: 'No rePlaying sound from fileHow can i play the sound from a local file using deno?Deno with the --inspect-wait arg doesn't expose /json/protocol - should it?I'm testing out connecting to a Deno process via the v8 inspector protocol: https://deno.land/manual