MessageBus JavaScript Client

JSON →
library 4.5.2 ·javascript
verified May 27, 2026

The `message-bus-client` package is the official JavaScript client library for connecting to the Ruby `message_bus` server. It provides robust functionalities for subscribing to channels, receiving real-time messages via polling, long-polling, or long-polling with streaming, and managing subscriptions and message backlogs. Designed to work seamlessly with the `message_bus` Ruby gem, which acts as a Rack middleware, it enables scalable concurrent connections. The current stable version is 4.5.2, reflecting active maintenance, as it is a critical component of Discourse, where it's used in production at scale. Its primary role is to establish a reliable client-server communication channel for web applications.

total hits 23
actors 10 distinct systems
last hit 1d ago human
ByteDance
5
MetaBot
4
GPTBot
2
Script
1
Amazonbot
1
ClaudeBot
1
Search engines
2
Humans
1

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇮 Finland · 🇩🇪 Germany