RetryableGraphQLSubscriptionOperation
public final class RetryableGraphQLSubscriptionOperation<Payload> where Payload : Decodable
-
Declaration
Swift
public typealias Payload = Payload
-
Declaration
Swift
public typealias SubscriptionEvents = GraphQLSubscriptionEvent<Payload>
-
Declaration
Swift
public init( requestStream: AsyncStream<() async throws -> AmplifyAsyncThrowingSequence<SubscriptionEvents>> )
-
Declaration
Swift
public func subscribe() -> AnyPublisher<SubscriptionEvents, APIError>
-
Declaration
Swift
public func cancel()