Variable ConnectionStatusEventConst

ConnectionStatusEvent: {
    backoff: "backoff";
    close: "close";
    connectionError: "connectionError";
    ready: "ready";
    streamError: "streamError";
    unknown: "unknown";
} = ...

Type declaration

  • backoff: "backoff"

    The worker is applying a backoff. The duration of the backoff in ms is passed as a parameter to any listener

  • close: "close"
  • connectionError: "connectionError"

    This is a latched error event. It will fire once to signal the start of a error state.

  • ready: "ready"
  • streamError: "streamError"

    This is an unlatched error event. It will fire multiple times when an error state is encountered.

  • unknown: "unknown"

Generated using TypeDoc