SwiftfuncHealthKitHealthKit.ListQueryDescriptorProtocol
batched
HealthKit.ListQueryDescriptorProtocol< where A.ModelKind: NSObject, A.ModelKind: NSSecureCoding>.batched(size: Int, in: HealthKit.QueryDescriptorEvaluator, batchHandler: @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{}
- 0size:structSwift.Int
- 1in:existential
QueryDescriptorEvaluator - 2batchHandler:function
@Sendable (Result<[A.ModelKind]?, Error>) -> ()sendableescaping- argassociatedType
ModelKind- basegenericParameter
A
- argexistential
Error
- returnstuple
()
result{}
structHealthKit.QueryToken