SwiftclassHealthDaemon
SampleQueryEvaluator
class HealthDaemon.SampleQueryEvaluator
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolHealthDaemon.HealthTypeEvaluator
Members 6
- field
let makePredicate: @Sendable (NSPredicate?) -> HealthKit.HKSamplePredicate<B> - field
let profile: HDProfile - field
let state: Synchronization.Mutex<HealthDaemon.StateStorage> - typealias
typealias ConfigurationKind = A - typealias
typealias ModelKind = B - typealias
typealias StateKind = HealthDaemon.StateStorage
Header
class SampleQueryEvaluator<A, B> where A: Swift.Decodable, A: Swift.Encodable, A: HealthKit.Configuration.SampleBase, B == A.PredicatedModelKind { let state: Synchronization.Mutex<HealthDaemon.StateStorage> let profile: __C.HDProfile let makePredicate: @Sendable (_: __C.NSPredicate?) -> HealthKit.HKSamplePredicate<B> }