Setu-TS
    Preparing search index...

    Carries frames over Redis pub/sub.

    Two connections, deliberately. A Redis connection in subscriber mode refuses every command other than (un)subscribe, so publishing over the subscribed connection fails at runtime. That is a property of the Redis protocol rather than of ioredis, and it is invisible to any test driven with a single fake — hence the constructor refuses an injected client that arrives without its subscriber.

    app.register(RealtimeBackplanePlugin({
    transport: 'redis',
    url: 'redis://localhost:6379',
    }));

    0.2.0

    Implements

    Index
    isHealthy?: () => Promise<boolean>

    M70c: present only when both connections expose status and ping; the indicator reads absence as unknown (a minimal fake that lacks the surface has not told us the backend is dead). A subscriber-mode connection refuses every command but (un)subscribe, so the pair is probed separately (M47's two-connection requirement).

    0.2.0

    origin: string

    This instance's identity, stamped onto every frame it publishes.

    Stable for the lifetime of the instance and distinct from every peer's.

    • Builds the client pair when needed, then subscribes.

      Idempotent and safe to call concurrently: the open is memoized, so two overlapping calls join one attempt rather than each building — and leaking — its own pair of connections. A failed attempt leaves the instance unconnected with any connection it created already quit, and clears the memo so a later call retries. A close() arriving mid-attempt wins: the attempt retires whatever it built rather than publishing it.

      Returns Promise<void>

      Whatever the module load, connection construction, or SUBSCRIBE rejected with