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{}
- 0in:existential
QueryDescriptorEvaluator - 1resultHandler:function
@Sendable (Result<A.ModelKind?, Error>) -> ()sendableescaping- argassociatedType
ModelKind- basegenericParameter
A
- argexistential
Error
- returnstuple
()
result{}
structHealthKit.QueryToken