SwiftfuncHealthKitHealthKit.ListQueryDescriptorProtocol

iterate

HealthKit.ListQueryDescriptorProtocol< where A.ModelKind: NSObject, A.ModelKind: NSSecureCoding>.iterate(in: HealthKit.QueryDescriptorEvaluator, resultHandler: @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. 1resultHandler:
    function@Sendable (Result<A.ModelKind?, Error>) -> ()sendableescaping

result{}