69 declarations · 314 ms
extension HealthKit.QueryToken: HealthKit.QueryTokenProtocolextension HealthKit.QueryToken: Swift.Hashableextension HealthKit.QueryToken: Swift.EquatableHealthKit.ListQueryDescriptorProtocol< where A.ModelKind: Decodable, A.ModelKind: Encodable>.batched(size: Int, in: HealthKit.QueryDescriptorEvaluator, batchHandler: @Sendable (Result<[A.ModelKind]?, Error>) -> ()) -> HealthKit.QueryTokenbatched<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.QueryTokenHealthKit.ListQueryDescriptorProtocol< where A.ModelKind: NSObject, A.ModelKind: NSSecureCoding>.batched(size: Int, in: HealthKit.QueryDescriptorEvaluator, batchHandler: @Sendable (Result<[A.ModelKind]?, 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.QueryTokenevaluate_batched<A, B, C where A: HealthKit.ListQueryDescriptorProtocol, B == A.ConfigurationKind, C: Decodable, C: Encodable, C == A.ModelKind>(queryDescriptor: A, batchSize: Int, batchHandler: @Sendable (Result<[C]?, Error>) -> ()) -> HealthKit.QueryTokenmethod descriptor for evaluate_batched<A, B, C where A1: HealthKit.ListQueryDescriptorProtocol, B1 == A1.ConfigurationKind, C1: NSObject, C1: NSSecureCoding, C1 == A1.ModelKind>(queryDescriptor: A1, batchSize: Int, batchHandler: @Sendable (Result<[C1]?, Error>) -> ()) -> HealthKit.QueryTokenevaluate_batched<A, B, C where A: HealthKit.ListQueryDescriptorProtocol, B == A.ConfigurationKind, C: NSObject, C: NSSecureCoding, C == A.ModelKind>(queryDescriptor: A, batchSize: Int, batchHandler: @Sendable (Result<[C]?, Error>) -> ()) -> HealthKit.QueryTokenmethod descriptor for evaluate_batched<A, B, C where A1: HealthKit.ListQueryDescriptorProtocol, B1 == A1.ConfigurationKind, C1: Decodable, C1: Encodable, C1 == A1.ModelKind>(queryDescriptor: A1, batchSize: Int, batchHandler: @Sendable (Result<[C1]?, Error>) -> ()) -> HealthKit.QueryTokenevaluate_iterate<A, B, C where A1: HealthKit.ListQueryDescriptorProtocol, B1 == A1.ConfigurationKind, C1: NSObject, C1: NSSecureCoding, C1 == A1.ModelKind>(queryDescriptor: A1, resultHandler: @Sendable (Result<C1?, Error>) -> ()) -> HealthKit.QueryTokenevaluate_iterate<A, B, C where A1: HealthKit.ListQueryDescriptorProtocol, B1 == A1.ConfigurationKind, C1: Decodable, C1: Encodable, C1 == A1.ModelKind>(queryDescriptor: A1, resultHandler: @Sendable (Result<C1?, Error>) -> ()) -> HealthKit.QueryTokenevaluate_list<A, B, C where A1: HealthKit.ListQueryDescriptorProtocol, B1 == A1.ConfigurationKind, C1: Decodable, C1: Encodable, C1 == A1.ModelKind>(queryDescriptor: A1, completion: @Sendable (Result<[C1], Error>) -> ()) -> HealthKit.QueryTokenevaluate_list<A, B, C where A1: HealthKit.ListQueryDescriptorProtocol, B1 == A1.ConfigurationKind, C1: NSObject, C1: NSSecureCoding, C1 == A1.ModelKind>(queryDescriptor: A1, completion: @Sendable (Result<[C1], Error>) -> ()) -> HealthKit.QueryTokenmethod descriptor for findOne<A, B where A1: HealthKit.QueryByIdQueryDescriptorProtocol, B1 == A1.ModelKind>(queryDescriptor: A1, eventHandler: @Sendable (Result<B1, Error>) -> ()) -> HealthKit.QueryTokenfindOne(in: HealthKit.QueryDescriptorEvaluator, completion: @Sendable (Result<A.ModelKind, Error>) -> ()) -> HealthKit.QueryTokenfindOne(id: A.QueryByIdModelKind.WriteModelProtocol.IdentifierKind, in: HealthKit.QueryDescriptorEvaluator, completion: @Sendable (Result<A.QueryByIdModelKind, 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.QueryTokenfindOne<A, B where A: HealthKit.QueryByIdQueryDescriptorProtocol, B == A.ModelKind>(queryDescriptor: A, eventHandler: @Sendable (Result<B, Error>) -> ()) -> HealthKit.QueryTokeninit(identifier: Foundation.UUID, cancel: @Sendable (Foundation.UUID) -> ()) -> HealthKit.QueryTokenHealthKit.ListQueryDescriptorProtocol< where A.ModelKind: Decodable, A.ModelKind: Encodable>.iterate(in: HealthKit.QueryDescriptorEvaluator, resultHandler: @Sendable (Result<A.ModelKind?, Error>) -> ()) -> HealthKit.QueryTokenHealthKit.ListQueryDescriptorProtocol< where A.ModelKind: NSObject, A.ModelKind: NSSecureCoding>.iterate(in: HealthKit.QueryDescriptorEvaluator, resultHandler: @Sendable (Result<A.ModelKind?, Error>) -> ()) -> HealthKit.QueryTokenHealthKit.ListQueryDescriptorProtocol< where A.ModelKind: Decodable, A.ModelKind: Encodable>.list(in: HealthKit.QueryDescriptorEvaluator, completion: @Sendable (Result<[A.ModelKind], Error>) -> ()) -> HealthKit.QueryTokenHealthKit.ListQueryDescriptorProtocol< where A.ModelKind: NSObject, A.ModelKind: NSSecureCoding>.list(in: HealthKit.QueryDescriptorEvaluator, completion: @Sendable (Result<[A.ModelKind], Error>) -> ()) -> HealthKit.QueryTokenmutate<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, eventHandler: @Sendable (Result<[C1], Error>) -> ()) -> HealthKit.QueryTokenmutate<A, B, C where A: HealthKit.MutateQueryDescriptorProtocol, B == A.ConfigurationKind, C == A.ModelKind>(queryDescriptor: A, eventHandler: @Sendable (Result<[C], Error>) -> ()) -> HealthKit.QueryTokenHealthKit.MutableHealthType< where A.MutateConfigurationKind: HealthKit.Configuration.Constructible>.mutate(model: A.MutateModelKind, in: HealthKit.QueryDescriptorEvaluator, completion: @Sendable (Result<A.MutateModelKind, Error>) -> ()) -> HealthKit.QueryTokenHealthKit.MutableHealthType< where A.MutateConfigurationKind: HealthKit.Configuration.Constructible>.mutate(models: [A.MutateModelKind], in: HealthKit.QueryDescriptorEvaluator, completion: @Sendable (Result<[A.MutateModelKind], Error>) -> ()) -> HealthKit.QueryTokenmutate(models: [A.MutateModelKind], configuration: A.MutateConfigurationKind, in: HealthKit.QueryDescriptorEvaluator, completion: @Sendable (Result<[A.MutateModelKind], Error>) -> ()) -> HealthKit.QueryTokenmutate(model: A.MutateModelKind, configuration: A.MutateConfigurationKind, in: HealthKit.QueryDescriptorEvaluator, completion: @Sendable (Result<A.MutateModelKind, Error>) -> ()) -> HealthKit.QueryTokenmutate(in: HealthKit.QueryDescriptorEvaluator, completion: @Sendable (Result<[A.ModelKind], 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(in: HealthKit.QueryDescriptorEvaluator, eventHandler: @Sendable (Result<(), Error>) -> ()) -> HealthKit.QueryTokenobserve<A, B where A: HealthKit.ObservationQueryDescriptorProtocol, B == A.ConfigurationKind>(observationDescriptor: A, eventHandler: @Sendable (Result<(), Error>) -> ()) -> HealthKit.QueryTokenHealthKit.ObservableHealthType< where A.ObservationConfigurationKind: HealthKit.Configuration.Constructible>.observe(in: HealthKit.QueryDescriptorEvaluator, eventHandler: @Sendable (Result<(), Error>) -> ()) -> HealthKit.QueryToken