amplify-swift/Amplify/Categories/API/Response/SubscriptionConnectionState...

22 lines
555 B
Swift

//
// Copyright Amazon.com Inc. or its affiliates.
// All Rights Reserved.
//
// SPDX-License-Identifier: Apache-2.0
//
/// Subscription Connection State
public enum SubscriptionConnectionState {
/// The subscription is in process of connecting
case connecting
/// The subscription has connected and is receiving events from the service
case connected
/// The subscription has been disconnected because of a lifecycle event or manual disconnect request
case disconnected
}
extension SubscriptionConnectionState: Sendable { }