Hacker GitHub

← All repos

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

Mentions per year 8 mentions · busiest year 2018 (2)
20082026
  1. …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.…
  2. …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…