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