SwiftfuncHealthDaemonHealthDaemon.HDProfileQueryDescriptorEvaluator
observe
HealthDaemon.HDProfileQueryDescriptorEvaluator.observe<A, B where A: HealthKit.ObservationQueryDescriptorProtocol, B == A.ConfigurationKind>(observationDescriptor: A, eventHandler: @Sendable (Result<(), Error>) -> ()) -> HealthKit.QueryToken
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
AB
req{}
- conformance:genericParameter
A - sameType==genericParameter
BassociatedTypeConfigurationKind- basegenericParameter
A
param{}
- 0observationDescriptor:genericParameter
A - 1eventHandler:function
@Sendable (Result<(), Error>) -> ()sendableescaping- argtuple
() - argexistential
Error
- returnstuple
()
result{}
structHealthKit.QueryToken