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