---
title: HKAsyncSequenceQuery
framework: healthkit
role: symbol
role_heading: Protocol
path: healthkit/hkasyncsequencequery
---

# HKAsyncSequenceQuery

A protocol that defines a method for running queries that returns results using an asynchronous sequence.

## Declaration

```swift
protocol HKAsyncSequenceQuery
```

## Mentioned in

Running Queries with Swift Concurrency

## Topics

### Running Queries

- [Sequence](healthkit/hkasyncsequencequery/sequence.md)
- [results(for:)](healthkit/hkasyncsequencequery/results(for:).md)

## Relationships

### Conforming Types

- [HKActivitySummaryQueryDescriptor](healthkit/hkactivitysummaryquerydescriptor.md)
- [HKAnchoredObjectQueryDescriptor](healthkit/hkanchoredobjectquerydescriptor.md)
- [HKElectrocardiogramQueryDescriptor](healthkit/hkelectrocardiogramquerydescriptor.md)
- [HKHeartbeatSeriesQueryDescriptor](healthkit/hkheartbeatseriesquerydescriptor.md)
- [HKQuantitySeriesSampleQueryDescriptor](healthkit/hkquantityseriessamplequerydescriptor.md)
- [HKStatisticsCollectionQueryDescriptor](healthkit/hkstatisticscollectionquerydescriptor.md)
- [HKWorkoutEffortRelationshipQueryDescriptor](healthkit/hkworkouteffortrelationshipquerydescriptor.md)
- [HKWorkoutRouteQueryDescriptor](healthkit/hkworkoutroutequerydescriptor.md)

## See Also

### Swift concurrency support

- [Running Queries with Swift Concurrency](healthkit/running-queries-with-swift-concurrency.md)
- [HKAsyncQuery](healthkit/hkasyncquery.md)
- [HKSamplePredicate](healthkit/hksamplepredicate.md)
