AmplifyOperationTaskAdapter

public class AmplifyOperationTaskAdapter<Request: AmplifyOperationRequest,
                                            Success,
                                            Failure: AmplifyError>: AmplifyTask
  • Declaration

    Swift

    public init(operation: AmplifyOperation<Request, Success, Failure>)
  • value Asynchronous

    Declaration

    Swift

    public var value: Success { get async throws }
  • Declaration

    Swift

    public func pause()
  • Declaration

    Swift

    public func resume()
  • Declaration

    Swift

    public func cancel()
  • Declaration

    Swift

    public var resultPublisher: AnyPublisher<Success, Failure> { get }

Available where Request: RequestIdentifier

  • Declaration

    Swift

    var requestID: String { get }