Skip to main content

Interface: PublisherEvents

The event that can be emitted from the Publisher instance

Properties​

connection state​

connection state: ConnectionState

Emitted when connection state changes


error​

error: PublisherError

Emitted when an error occurs. A failed connect attempt or a dropped connection that can be retried is non-fatal. When the retries run out, a fatal connection_exhausted follows.


health​

health: BroadcastHealth

Emitted on each health recompute, from the "ready" state onward.


publisher state​

publisher state: PublisherState

Emitted when publisher state changes