Returns all discussion stream event names registered by extensions. Used by Discussion/NewActivity to know which events to bind.
Called by Application.ts once the public channel is subscribed. Flushes any pending callbacks.
Called by Application.ts once the user private channel is subscribed. Flushes any pending callbacks.
Run callback once the public channel is ready, or immediately if it is
already established.
Run callback once the user private channel is ready, or immediately if
it is already established.
Register event names that should trigger a DiscussionPage stream reload. Called by the Realtime extender on behalf of other extensions.
Singleton that tracks realtime channel state and holds registrations from extensions. It decouples the channel setup timing (which happens during Application.mount) from extender registration (which happens at boot, before mount).
Extensions interact with this indirectly via the Realtime JS extender. Internal realtime code calls the
notify*methods once channels are ready.