AmplifyInProcessReportingTask

public protocol AmplifyInProcessReportingTask

Simple task that represents a unit of work and its result and is able to report its progress.

See Also: AmplifyTask

  • Tag: AmplifyInProcessReportingTask
  • Declaration

    Swift

    associatedtype InProcess
  • inProcess Asynchronous

    An async sequence that is able to report on the progress of the work represented by the receiver.

    • Tag: AmplifyInProcessReportingTask.inProcess

    Declaration

    Swift

    var inProcess: AmplifyAsyncSequence<InProcess> { get async }
  • Declaration

    Swift

    var inProcessPublisher: AnyPublisher<InProcess, Never> { get }

Available where InProcess == Progress

  • progress Extension method, asynchronous

    An async sequence that is able to report on the progress of the work represented by the receiver using Progress.

    • Tag: AmplifyInProcessReportingTask.progress

    Declaration

    Swift

    var progress: AmplifyAsyncSequence<InProcess> { get async }