SwiftprotocolHealthTopicsCore

protocol HealthTopicsCore.TopicRequest

Members 5

  1. associatedtypeassociatedtype Response
  2. funcmethod descriptor for _response(from: HealthTopicsCore.TopicStore, completion: @Sendable (Result<A.Response, Error>) -> ()) -> HealthTopicsCore.TopicRequestToken
  3. funcHealthTopicsCore.TopicRequest< where A.Response: HealthTopicsCore.BatchedTopicResponse>._response(from: HealthTopicsCore.TopicStore, completion: @Sendable (Result<A.Response, Error>) -> ()) -> HealthTopicsCore.TopicRequestToken
  4. func_response(from: HealthTopicsCore.TopicStore, completion: @Sendable (Result<A.Response, Error>) -> ()) -> HealthTopicsCore.TopicRequestToken
  5. varvar topic: HealthTopicsCore.Topic { get }
protocol TopicRequest: Swift.Decodable, Swift.Encodable, Swift.Hashable where Self.Response: Swift.Decodable, Self.Response: Swift.Encodable {
    associatedtype Response

    var topic: HealthTopicsCore.Topic {
        get
    }

    func _response(from: any HealthTopicsCore.TopicStore, completion: @escaping @Sendable (_: Swift.Result<Self.Response, any Swift.Error>) -> ()) -> HealthTopicsCore.TopicRequestToken
}
extension HealthTopicsCore.TopicRequest {
    func _response(from: any HealthTopicsCore.TopicStore, completion: @escaping @Sendable (_: Swift.Result<Self.Response, any Swift.Error>) -> ()) -> HealthTopicsCore.TopicRequestToken where Self.Response: HealthTopicsCore.BatchedTopicResponse
    func _response(from: any HealthTopicsCore.TopicStore, completion: @escaping @Sendable (_: Swift.Result<Self.Response, any Swift.Error>) -> ()) -> HealthTopicsCore.TopicRequestToken
}