AmplifyOperationTaskAdapter
public class AmplifyOperationTaskAdapter<Request: AmplifyOperationRequest,
Success,
Failure: AmplifyError>: AmplifyTask
-
Declaration
Swift
public init(operation: AmplifyOperation<Request, Success, Failure>)
-
value
AsynchronousDeclaration
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 }
-
Declaration
Swift
var requestID: String { get }