SwiftfuncHealthKitHealthKit.QueryableByIdHealthType
findOne
HealthKit.QueryableByIdHealthType.findOne(id: A.QueryByIdModelKind.WriteModelProtocol.IdentifierKind, in: HealthKit.QueryDescriptorEvaluator, completion: @Sendable (Result<A.QueryByIdModelKind, Error>) -> ()) -> HealthKit.QueryToken
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
A
param{}
- 0id:associatedType
IdentifierKind- baseassociatedType
QueryByIdModelKind- basegenericParameter
A
- 1in:existential
QueryDescriptorEvaluator - 2completion:function
@Sendable (Result<A.QueryByIdModelKind, Error>) -> ()sendableescaping- argassociatedType
QueryByIdModelKind- basegenericParameter
A
- argexistential
Error
- returnstuple
()
result{}
structHealthKit.QueryToken