SubscriptionStatus

public enum SubscriptionStatus

The status of a SubscriptionWatcher

  • The subscription is in process of connecting

    Declaration

    Swift

    case connecting
  • The subscription has connected and is receiving events from the service

    Declaration

    Swift

    case connected
  • The subscription has been disconnected because of a lifecycle event or manual disconnect request

    Declaration

    Swift

    case disconnected
  • The subscription is in an error state. The enum’s associated value will provide more details, including recovery options if available.

    Declaration

    Swift

    case error(Error)