AmplifyInProcessReportingOperationTaskAdapter
public class AmplifyInProcessReportingOperationTaskAdapter<Request: AmplifyOperationRequest,
InProcess,
Success,
Failure: AmplifyError>: AmplifyTask, AmplifyInProcessReportingTask
-
Declaration
Swift
public init(operation: AmplifyInProcessReportingOperation<Request, InProcess, Success, Failure>)
-
value
AsynchronousDeclaration
Swift
public var value: Success { get async throws }
-
inProcess
AsynchronousDeclaration
Swift
public var inProcess: AmplifyAsyncSequence<InProcess> { get async }
-
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
public var inProcessPublisher: AnyPublisher<InProcess, Never> { get }
-
Declaration
Swift
var requestID: String { get }