---
title: AsyncMapSequence
framework: swift
role: symbol
role_heading: Structure
path: swift/asyncmapsequence
---

# AsyncMapSequence

An asynchronous sequence that maps the given closure over the asynchronous sequence’s elements.

## Declaration

```swift
struct AsyncMapSequence<Base, Transformed> where Base : AsyncSequence
```

## Topics

### Structures

- [AsyncMapSequence.Iterator](swift/asyncmapsequence/iterator.md)

### Type Aliases

- [AsyncMapSequence.Failure](swift/asyncmapsequence/failure.md)

### Default Implementations

- [AsyncSequence Implementations](swift/asyncmapsequence/asyncsequence-implementations.md)

## Relationships

### Conforms To

- [AsyncSequence](swift/asyncsequence.md)
- [Copyable](swift/copyable.md)
- [Escapable](swift/escapable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Transforming a Sequence

- [map(_:)](swift/asyncsequence/map(_:)-1q1k3.md)
- [map(_:)](swift/asyncsequence/map(_:)-70wgb.md)
- [AsyncThrowingMapSequence](swift/asyncthrowingmapsequence.md)
- [compactMap(_:)](swift/asyncsequence/compactmap(_:)-gfdq.md)
- [AsyncCompactMapSequence](swift/asynccompactmapsequence.md)
- [compactMap(_:)](swift/asyncsequence/compactmap(_:)-1f8zn.md)
- [AsyncThrowingCompactMapSequence](swift/asyncthrowingcompactmapsequence.md)
- [AsyncFlatMapSequence](swift/asyncflatmapsequence.md)
- [AsyncThrowingFlatMapSequence](swift/asyncthrowingflatmapsequence.md)
- [reduce(_:_:)](swift/asyncsequence/reduce(_:_:).md)
- [reduce(into:_:)](swift/asyncsequence/reduce(into:_:).md)
