---
title: "results(for:)"
framework: healthkit
role: symbol
role_heading: Instance Method
path: "healthkit/hkactivitysummaryquerydescriptor/results(for:)"
---

# results(for:)

Initiates a long-running query that returns its results using an asynchronous sequence.

## Declaration

```swift
func results(for healthStore: HKHealthStore) -> HKActivitySummaryQueryDescriptor.Results
```

## Parameters

- `healthStore`: The access point for HealthKit data.

## See Also

### Running queries

- [result(for:)](healthkit/hkactivitysummaryquerydescriptor/result(for:).md)
- [HKActivitySummaryQueryDescriptor.Results](healthkit/hkactivitysummaryquerydescriptor/results.md)
