pubkey/broadcast-channel
View on GitHub ↗ ★ 2,002 JavaScript
:satellite: BroadcastChannel to send data between different browser-tabs or nodejs-processes :satellite: + LeaderElection over the channels https://pubkey.github.io/broadcast-channel/
8 mentions on Hacker News by 5 people: 6 stories, 2 comments · first 2018-06-27 · latest 2024-12-27
20082026
-
…seamlessly because all tabs try to become the leader and only one actually can. This library ( https://github.com/pubkey/broadcast-channel ) from the fantastic RxDB javascript DB library uses WebLocks with a fallback to Broadcast Channel.…
comment by nchmy · 2024-12-27 · in Server-Sent Events (SSE) Are Underrated -
…eveloper.mozilla.org/en-US/docs/Web/API/Web_Locks_A... ) rather than Broadcast Channel This library ( https://github.com/pubkey/broadcast-channel/blob/master/src/... ) from the fantastic RxDB javascript DB library uses WebLocks with a…
comment by nchmy · 2024-12-26 · in Server-Sent Events (SSE) Are Underrated