The connection options.
The connection store.
ReadonlynameA human-readable name (e.g. 'memory', 'redis').
ReadonlystoreThe connection store.
Optionalpayload: TStaticcreateCreate a Redis broadcaster.
The connection options.
The connection store (defaults to an in-memory one).
A new broadcaster.
Redis pub/sub broadcaster.
Fans a broadcast out across every instance via Redis pub/sub:
broadcastpublishes on a Redis channel; each instance subscribes and delivers to its local listeners (the sockets a WS adapter registered). Uses a dedicated subscriber connection (a Redis connection in subscribe mode cannot run other commands).ioredisis imported lazily as an optional peer dependency. Presence is read from the injected ConnectionStore.