---
title: "request(_:didProduce:)"
framework: soundanalysis
role: symbol
role_heading: Instance Method
path: "soundanalysis/snresultsobserving/request(_:didproduce:)"
---

# request(_:didProduce:)

Provides a new analysis result to your app with the specified time range.

## Declaration

```swift
func request(_ request: any SNRequest, didProduce result: any SNResult)
```

## Parameters

- `request`: The request that produces the result.
- `result`: The result of the analysis request.

## Discussion

Discussion The analyzer calls this function each time a new analysis result is available. Different types of analyses may produce results at different rates, spanning different time ranges.

## See Also

### Handling Requests

- [SNResult](soundanalysis/snresult.md)
- [request(_:didFailWithError:)](soundanalysis/snresultsobserving/request(_:didfailwitherror:).md)
- [requestDidComplete(_:)](soundanalysis/snresultsobserving/requestdidcomplete(_:).md)
