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 27
actors 10 distinct systems
last hit 3d ago AhrefsBot
ByteDance
5
Amazonbot
4
MetaBot
4
GPTBot
2
ClaudeBot
2
Script
1
Search engines
2
Humans
2

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇮 Finland · IQ