SwiftprotocolDownloadObtainer

protocol DownloadObtainer.Loader

Members 3

  1. associatedtypeassociatedtype O
  2. funcmethod descriptor for cancel(obtainable: A.O) async throws -> ()
  3. funcmethod descriptor for load(obtainable: A.O) -> AsyncThrowingStream<DownloadObtainer.ObtainerStatus<A.O>, Error>
protocol Loader where Self.O: DownloadObtainer.Obtainable {
    associatedtype O

    func load(obtainable: Self.O) -> Swift.AsyncThrowingStream<DownloadObtainer.ObtainerStatus<Self.O>, any Swift.Error>
    func cancel(obtainable: Self.O) async throws
}