RetryableGraphQLOperation
public final class RetryableGraphQLOperation<Payload> where Payload : Decodable
-
Declaration
Swift
public typealias Payload = Payload
-
Declaration
Swift
public init( requestStream: AsyncStream<() async throws -> GraphQLTask<Payload>.Success> )
-
Declaration
Swift
public func execute( _ operationType: GraphQLOperationType ) -> AnyPublisher<GraphQLTask<Payload>.Success, APIError>
-
run()
AsynchronousDeclaration
Swift
public func run() async -> Result<GraphQLTask<Payload>.Success, APIError>
-
Declaration
Swift
public func cancel()