SwiftfuncHealthKitHealthKit.QueryByIdQueryDescriptorProtocol

findOne

HealthKit.QueryByIdQueryDescriptorProtocol.findOne(in: HealthKit.QueryDescriptorEvaluator, completion: @Sendable (Result<A.ModelKind, Error>) -> ()) -> HealthKit.QueryToken

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

A

param{}

  1. 0in:
    existentialQueryDescriptorEvaluator
  2. 1completion:
    function@Sendable (Result<A.ModelKind, Error>) -> ()sendableescaping
    • paramenumSwift.Result
      • argassociatedTypeModelKind
        • basegenericParameterA
      • argexistentialError
    • returnstuple()

result{}