Type Alias DisconnectEvent

DisconnectEvent: { reason: string; type: "disconnect" }

The listener has been told to explicitly disconnect and not reconnect. This is a rare situation, but may occur if the API knows reconnect attempts will fail, eg in the case of a deleted dataset, a blocked project or similar events.

Note that this is not treated as an error on the observable, but will complete the observable.

Type declaration

  • reason: string
  • type: "disconnect"