Flarum (2.x)
    Preparing search index...

    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.

    Index

    Constructors

    Methods

    • Register event names that should trigger a DiscussionPage stream reload. Called by the Realtime extender on behalf of other extensions.

      Parameters

      • eventNames: string[]

      Returns void