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

# result(for:)

Runs a one-shot query that asynchronously returns a snapshot of all the sources that saved matching data.

## Declaration

```swift
func result(for healthStore: HKHealthStore) async throws -> [HKSource]
```

## Parameters

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