SwiftstructHealthKitAdditions

struct HKHealthStore.SampleIteratorPublisher

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 5

  1. fieldlet configuration: HKHealthStore.SampleIteratorPublisher.Configuration+0x0
  2. fieldlet healthStore: HKHealthStore+0x20
  3. funcreceive<A where A: Combine.Subscriber, A.Failure == Error, A.Input == [HKSample]>(subscriber: A) -> ()
  4. typealiastypealias Failure = Swift.Error
  5. typealiastypealias Output = Swift.Array<__C.HKSample>
struct SampleIteratorPublisher {
    struct Configuration {
        let cursor: __C.HKSampleIteratorQueryCursor
        let batchSize: Swift.Int
        let debugIdentifier: Swift.String
    }
    class Inner<A, B> where A: Combine.Subscriber, B: Swift.Error, A.Failure == any Swift.Error, A.Input == [__C.HKSample] {
        enum State {
            case awaitingDemand(cursor: __C.HKSampleIteratorQueryCursor)
            case executingQuery(query: __C.HKQuery)
            case terminal
        }
        let configuration: __C.HKHealthStore.SampleIteratorPublisher.Configuration
        let healthStore: __C.HKHealthStore
        var downstream: A?
        let lock: Swift.UnsafeMutablePointer<__C.os_unfair_lock_s>
        var pendingDemand: Combine.Subscribers.Demand
        var state: __C.HKHealthStore.SampleIteratorPublisher.Inner<A, B>.State
    }
    let configuration: __C.HKHealthStore.SampleIteratorPublisher.Configuration
    let healthStore: __C.HKHealthStore

    func receive<A>(subscriber: A) where A: Combine.Subscriber, A.Failure == any Swift.Error, A.Input == [__C.HKSample]
}