---
title: TranslationSession.BatchResponse
framework: translation
role: symbol
role_heading: Structure
path: translation/translationsession/batchresponse
---

# TranslationSession.BatchResponse

A type that provides asynchronous access to translation responses.

## Declaration

```swift
struct BatchResponse
```

## Overview

Overview This type returns instances of TranslationSession.Response asynchronously and throws an Error if something goes wrong.

## Topics

### Iterating over translation results

- [makeAsyncIterator()](translation/translationsession/batchresponse/makeasynciterator().md)

### Iteration types

- [TranslationSession.BatchResponse.AsyncIterator](translation/translationsession/batchresponse/asynciterator.md)
- [TranslationSession.BatchResponse.Element](translation/translationsession/batchresponse/element.md)

## Relationships

### Conforms To

- [AsyncSequence](swift/asyncsequence.md)

## See Also

### Translating the text

- [translate(_:)](translation/translationsession/translate(_:)-59zi2.md)
- [translate(_:)](translation/translationsession/translate(_:)-4m20l.md)
- [translate(batch:)](translation/translationsession/translate(batch:).md)
- [translations(from:)](translation/translationsession/translations(from:).md)
- [TranslationSession.Request](translation/translationsession/request.md)
- [TranslationSession.Response](translation/translationsession/response.md)
