SwiftstructHealthKit

struct HealthKit.HKElectrocardiogramQueryDescriptor.Results

Structure

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

inherits{}

Members 5

  1. fieldlet stream: HealthKit.HKQueryAsyncStream<HKElectrocardiogram>
  2. funcmakeAsyncIterator() -> HealthKit.HKElectrocardiogramQueryDescriptor.Results.Iterator
  3. typealiastypealias AsyncIterator = HealthKit.HKElectrocardiogramQueryDescriptor.Results.Iterator
  4. typealiastypealias Element = __C.HKElectrocardiogramVoltageMeasurement
  5. typealiastypealias Failure = Swift.Error
struct HealthKit.HKElectrocardiogramQueryDescriptor.Results {
    struct Iterator {
        var streamIterator: Swift.AsyncThrowingStream<__C.HKElectrocardiogram, any Swift.Error>.Iterator
        var measurementEnumerator: __C.NSEnumerator?

        func nextMeasurement() -> __C.HKElectrocardiogramVoltageMeasurement?
        func awaitMeasurementEnumerator() async throws
        func next() async throws -> __C.HKElectrocardiogramVoltageMeasurement?
    }
    let stream: HealthKit.HKQueryAsyncStream<__C.HKElectrocardiogram>

    func makeAsyncIterator() -> HealthKit.HKElectrocardiogramQueryDescriptor.Results.Iterator
}