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{}

  1. 0size:
    structSwift.Int
  2. 1in:
    existentialQueryDescriptorEvaluator
  3. 2batchHandler:
    function@Sendable (Result<[A.ModelKind]?, Error>) -> ()sendableescaping

result{}