16 declarations · 57 ms
batched<A, B, C where A: HealthKit.ListQueryDescriptorProtocol, B == A.ConfigurationKind, C: Decodable, C: Encodable, C == A.ModelKind>(queryDescriptor: A, batchSize: Int, relayProvider: HealthKit.HealthTypeQueryRelayProvider, batchHandler: @Sendable (Result<[C]?, Error>) -> ()) -> HealthKit.QueryTokenmethod descriptor for batched<A, B, C where A1: HealthKit.ListQueryDescriptorProtocol, B1 == A1.ConfigurationKind, C1: Decodable, C1: Encodable, C1 == A1.ModelKind>(queryDescriptor: A1, batchSize: Int, relayProvider: HealthKit.HealthTypeQueryRelayProvider, batchHandler: @Sendable (Result<[C1]?, Error>) -> ()) -> HealthKit.QueryTokenmethod descriptor for batched<A, B, C where A1: HealthKit.ListQueryDescriptorProtocol, B1 == A1.ConfigurationKind, C1: NSObject, C1: NSSecureCoding, C1 == A1.ModelKind>(queryDescriptor: A1, batchSize: Int, relayProvider: HealthKit.HealthTypeQueryRelayProvider, batchHandler: @Sendable (Result<[C1]?, Error>) -> ()) -> HealthKit.QueryTokenbatched<A, B, C where A: HealthKit.ListQueryDescriptorProtocol, B == A.ConfigurationKind, C: NSObject, C: NSSecureCoding, C == A.ModelKind>(queryDescriptor: A, batchSize: Int, relayProvider: HealthKit.HealthTypeQueryRelayProvider, batchHandler: @Sendable (Result<[C]?, Error>) -> ()) -> HealthKit.QueryTokenfindOne<A, B where A: HealthKit.QueryByIdQueryDescriptorProtocol, B == A.ModelKind>(queryDescriptor: A, relayProvider: HealthKit.HealthTypeQueryRelayProvider, eventHandler: @Sendable (Result<B, Error>) -> ()) -> HealthKit.QueryTokenmethod descriptor for findOne<A, B where A1: HealthKit.QueryByIdQueryDescriptorProtocol, B1 == A1.ModelKind>(queryDescriptor: A1, relayProvider: HealthKit.HealthTypeQueryRelayProvider, eventHandler: @Sendable (Result<B1, Error>) -> ()) -> HealthKit.QueryTokeninit(identifier: HKHealthStoreIdentifier, relay: @Sendable (@Sendable (Foundation.UUID, HealthKit.EvaluationResponse<Foundation.Data>) -> ()) -> HealthKit.HealthTypeQueryRelay) -> HealthKit.HealthTypeQueryRelayProviderinit(relayProvider: HealthKit.HealthTypeQueryRelayProvider, clientEvaluationExecutor: HealthKit.ClientEvaluationExecutorProtocol) -> HealthKit.HKHealthStoreQueryDescriptorEvaluatorinit(store: HKHealthStore) -> HealthKit.HealthTypeQueryRelayProvidermutate<A, B, C where A: HealthKit.MutateQueryDescriptorProtocol, B == A.ConfigurationKind, C == A.ModelKind>(queryDescriptor: A, relayProvider: HealthKit.HealthTypeQueryRelayProvider, eventHandler: @Sendable (Result<[C], Error>) -> ()) -> HealthKit.QueryTokenmethod descriptor for mutate<A, B, C where A1: HealthKit.MutateQueryDescriptorProtocol, B1 == A1.ConfigurationKind, C1 == A1.ModelKind>(queryDescriptor: A1, relayProvider: HealthKit.HealthTypeQueryRelayProvider, eventHandler: @Sendable (Result<[C1], Error>) -> ()) -> HealthKit.QueryTokenobserve<A, B where A: HealthKit.ObservationQueryDescriptorProtocol, B == A.ConfigurationKind>(queryDescriptor: A, relayProvider: HealthKit.HealthTypeQueryRelayProvider, eventHandler: @Sendable (Result<(), Error>) -> ()) -> HealthKit.QueryTokenmethod descriptor for observe<A, B where A1: HealthKit.ObservationQueryDescriptorProtocol, B1 == A1.ConfigurationKind>(queryDescriptor: A1, relayProvider: HealthKit.HealthTypeQueryRelayProvider, eventHandler: @Sendable (Result<(), Error>) -> ()) -> HealthKit.QueryTokenlet relayProvider: HealthKit.HealthTypeQueryRelayProvidermethod descriptor for write<A, B, C where A1: HealthKit.WriteQueryDescriptorProtocol, B1 == A1.ConfigurationKind, C1 == A1.ModelKind>(queryDescriptor: A1, relayProvider: HealthKit.HealthTypeQueryRelayProvider, eventHandler: @Sendable (Result<(), Error>) -> ()) -> HealthKit.QueryTokenwrite<A, B, C where A: HealthKit.WriteQueryDescriptorProtocol, B == A.ConfigurationKind, C == A.ModelKind>(queryDescriptor: A, relayProvider: HealthKit.HealthTypeQueryRelayProvider, eventHandler: @Sendable (Result<(), Error>) -> ()) -> HealthKit.QueryToken